You are here

help_topics.services.yml in Drupal 10

core/modules/help_topics/help_topics.services.yml

File

core/modules/help_topics/help_topics.services.yml
View source
  1. services:
  2. help.breadcrumb:
  3. class: Drupal\help_topics\HelpBreadcrumbBuilder
  4. arguments: ['@string_translation']
  5. tags:
  6. - { name: breadcrumb_builder, priority: 900 }
  7. public: false
  8. plugin.manager.help_topic:
  9. class: Drupal\help_topics\HelpTopicPluginManager
  10. arguments: ['@module_handler', '@theme_handler', '@cache.discovery', '%app.root%']
  11. help.twig.loader:
  12. class: Drupal\help_topics\HelpTopicTwigLoader
  13. arguments: ['%app.root%', '@module_handler', '@theme_handler']
  14. # Lowest core priority because loading help topics is not the usual case.
  15. tags:
  16. - { name: twig.loader, priority: -200 }
  17. public: false
  18. plugin.manager.help_section_topics:
  19. class: Drupal\help_topics\HelpSectionManager
  20. decorates: plugin.manager.help_section
  21. parent: plugin.manager.help_section
  22. calls:
  23. - [setSearchManager, ['@?plugin.manager.search']]
  24. tags:
  25. - { name: plugin_manager_cache_clear }
  26. help_twig.extension:
  27. class: Drupal\help_topics\HelpTwigExtension
  28. arguments: ['@access_manager', '@plugin.manager.help_topic', '@string_translation']
  29. tags:
  30. - { name: twig.extension }