toolbar.services.yml 585 B

1234567891011121314
  1. services:
  2. cache.toolbar:
  3. class: Drupal\Core\Cache\CacheBackendInterface
  4. tags:
  5. - { name: cache.bin }
  6. factory: cache_factory:get
  7. arguments: [toolbar]
  8. toolbar.page_cache_request_policy.allow_toolbar_path:
  9. class: Drupal\toolbar\PageCache\AllowToolbarPath
  10. tags:
  11. - { name: page_cache_request_policy }
  12. toolbar.menu_tree:
  13. class: Drupal\toolbar\Menu\ToolbarMenuLinkTree
  14. arguments: ['@menu.tree_storage', '@plugin.manager.menu.link', '@router.route_provider', '@menu.active_trail', '@controller_resolver', '@cache.menu', '@current_route_match']