toolbar.services.yml

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

File

core/modules/toolbar/toolbar.services.yml

View source
  1. parameters:
  2. toolbar.hooks_converted: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. cache.toolbar:
  7. class: Drupal\Core\Cache\CacheBackendInterface
  8. tags:
  9. - { name: cache.bin }
  10. factory: ['@cache_factory', 'get']
  11. arguments: [toolbar]
  12. toolbar.page_cache_request_policy.allow_toolbar_path:
  13. class: Drupal\toolbar\PageCache\AllowToolbarPath
  14. tags:
  15. - { name: page_cache_request_policy }
  16. toolbar.menu_tree:
  17. class: Drupal\toolbar\Menu\ToolbarMenuLinkTree
  18. arguments: ['@menu.tree_storage', '@plugin.manager.menu.link', '@router.route_provider', '@menu.active_trail', '@callable_resolver']

Services

Title Deprecated Summary
cache.toolbar Drupal\Core\Cache\CacheBackendInterface
toolbar.menu_tree Drupal\toolbar\Menu\ToolbarMenuLinkTree
toolbar.page_cache_request_policy.allow_toolbar_path Drupal\toolbar\PageCache\AllowToolbarPath
_defaults

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