Version 1
[yaffs-website] / web / core / modules / toolbar / toolbar.services.yml
diff --git a/web/core/modules/toolbar/toolbar.services.yml b/web/core/modules/toolbar/toolbar.services.yml
new file mode 100644 (file)
index 0000000..ef39464
--- /dev/null
@@ -0,0 +1,14 @@
+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', '@controller_resolver', '@cache.menu', '@current_route_match']