toolbar.services.yml
Same filename in other branches
File
-
core/
modules/ toolbar/ toolbar.services.yml
View source
- services:
- cache.toolbar:
- class: Drupal\Core\Cache\CacheBackendInterface
- tags:
- - { name: cache.bin }
- factory: ['@cache_factory', 'get']
- arguments: [toolbar]
- toolbar.page_cache_request_policy.allow_toolbar_path:
- class: Drupal\toolbar\PageCache\AllowToolbarPath
- tags:
- - { name: page_cache_request_policy }
- toolbar.menu_tree:
- class: Drupal\toolbar\Menu\ToolbarMenuLinkTree
- 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 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.