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. services:
  2. _defaults:
  3. autoconfigure: true
  4. cache.toolbar:
  5. class: Drupal\Core\Cache\CacheBackendInterface
  6. tags:
  7. - { name: cache.bin }
  8. factory: ['@cache_factory', 'get']
  9. arguments: [toolbar]
  10. toolbar.page_cache_request_policy.allow_toolbar_path:
  11. class: Drupal\toolbar\PageCache\AllowToolbarPath
  12. tags:
  13. - { name: page_cache_request_policy }
  14. toolbar.menu_tree:
  15. class: Drupal\toolbar\Menu\ToolbarMenuLinkTree
  16. 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.