help.services.yml

Same filename in other branches
  1. 9 core/modules/help/help.services.yml
  2. 8.9.x core/modules/help/help.services.yml
  3. 10 core/modules/help/help.services.yml
core/modules/help/help.services.yml

File

core/modules/help/help.services.yml

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

Services

Title Deprecated Summary
Drupal\help\HelpTopicPluginManagerInterface
help.breadcrumb Drupal\help\HelpBreadcrumbBuilder
help.twig.loader Drupal\help\HelpTopicTwigLoader
help_twig.extension Drupal\help\HelpTwigExtension
plugin.manager.help_section Drupal\help\HelpSectionManager
plugin.manager.help_topic Drupal\help\HelpTopicPluginManager
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.