Issue #2920309 by jhodgdon, Amber Himes Matz, alexpott, larowlan, andypost, vadim.hirbu, effulgentsia, diqidoq, jibran, webchick, catch, xjm, jhedstrom, Gábor Hojtsy, dawehner, Berdir, tim.plunkett, benjifisher, markcarver, yoroy, ckrina, amateescu, gnuget, webflo, Greg Boggs, yo30, vijaycs85, SenthilMohith, andrewmacpherson, EclipseGc, sandboxpl, MariaDenysyuk, tstoeckler, miro_dietiker, Mixologic, RoloDMonkey, timmillwood, Fabianx: Add experimental module for Help Topics
2019-06-28 12:24:20 +00:00
|
|
|
services:
|
2019-10-14 22:39:21 +00:00
|
|
|
help.breadcrumb:
|
Issue #2920309 by jhodgdon, Amber Himes Matz, alexpott, larowlan, andypost, vadim.hirbu, effulgentsia, diqidoq, jibran, webchick, catch, xjm, jhedstrom, Gábor Hojtsy, dawehner, Berdir, tim.plunkett, benjifisher, markcarver, yoroy, ckrina, amateescu, gnuget, webflo, Greg Boggs, yo30, vijaycs85, SenthilMohith, andrewmacpherson, EclipseGc, sandboxpl, MariaDenysyuk, tstoeckler, miro_dietiker, Mixologic, RoloDMonkey, timmillwood, Fabianx: Add experimental module for Help Topics
2019-06-28 12:24:20 +00:00
|
|
|
class: Drupal\help_topics\HelpBreadcrumbBuilder
|
|
|
|
arguments: ['@string_translation']
|
|
|
|
tags:
|
|
|
|
- { name: breadcrumb_builder, priority: 900 }
|
|
|
|
public: false
|
|
|
|
plugin.manager.help_topic:
|
|
|
|
class: Drupal\help_topics\HelpTopicPluginManager
|
2020-03-05 11:22:39 +00:00
|
|
|
arguments: ['@module_handler', '@theme_handler', '@cache.discovery', '%app.root%']
|
2019-10-14 22:39:21 +00:00
|
|
|
help.twig.loader:
|
Issue #2920309 by jhodgdon, Amber Himes Matz, alexpott, larowlan, andypost, vadim.hirbu, effulgentsia, diqidoq, jibran, webchick, catch, xjm, jhedstrom, Gábor Hojtsy, dawehner, Berdir, tim.plunkett, benjifisher, markcarver, yoroy, ckrina, amateescu, gnuget, webflo, Greg Boggs, yo30, vijaycs85, SenthilMohith, andrewmacpherson, EclipseGc, sandboxpl, MariaDenysyuk, tstoeckler, miro_dietiker, Mixologic, RoloDMonkey, timmillwood, Fabianx: Add experimental module for Help Topics
2019-06-28 12:24:20 +00:00
|
|
|
class: Drupal\help_topics\HelpTopicTwigLoader
|
2020-03-05 11:22:39 +00:00
|
|
|
arguments: ['%app.root%', '@module_handler', '@theme_handler']
|
Issue #2920309 by jhodgdon, Amber Himes Matz, alexpott, larowlan, andypost, vadim.hirbu, effulgentsia, diqidoq, jibran, webchick, catch, xjm, jhedstrom, Gábor Hojtsy, dawehner, Berdir, tim.plunkett, benjifisher, markcarver, yoroy, ckrina, amateescu, gnuget, webflo, Greg Boggs, yo30, vijaycs85, SenthilMohith, andrewmacpherson, EclipseGc, sandboxpl, MariaDenysyuk, tstoeckler, miro_dietiker, Mixologic, RoloDMonkey, timmillwood, Fabianx: Add experimental module for Help Topics
2019-06-28 12:24:20 +00:00
|
|
|
# Lowest core priority because loading help topics is not the usual case.
|
|
|
|
tags:
|
|
|
|
- { name: twig.loader, priority: -200 }
|
|
|
|
public: false
|
2019-10-14 22:39:21 +00:00
|
|
|
plugin.manager.help_section_topics:
|
Issue #2664830 by jhodgdon, alexpott, andypost, Charlie ChX Negyesi, scott_euser, oknate, vijaycs85, larowlan, Amber Himes Matz, pwolanin, Berdir, Wim Leers: Add search capability to help topics
2019-10-10 09:22:47 +00:00
|
|
|
class: Drupal\help_topics\HelpSectionManager
|
|
|
|
decorates: plugin.manager.help_section
|
|
|
|
parent: plugin.manager.help_section
|
|
|
|
calls:
|
|
|
|
- [setSearchManager, ['@?plugin.manager.search']]
|
|
|
|
tags:
|
|
|
|
- { name: plugin_manager_cache_clear }
|
Issue #3090659 by jhodgdon, andypost, larowlan, pratik_kamble, ravi.shankar, Fabianx, catch, Berdir, Charlie ChX Negyesi, daffie, Chi, dww: Make a way for help topics to generate links only if they work and are accessible
2021-02-24 10:21:07 +00:00
|
|
|
help_twig.extension:
|
|
|
|
class: Drupal\help_topics\HelpTwigExtension
|
|
|
|
arguments: ['@access_manager', '@plugin.manager.help_topic', '@string_translation']
|
|
|
|
tags:
|
|
|
|
- { name: twig.extension }
|