services: access_check.toolbar_subtree: class: Drupal\toolbar\Access\SubtreeAccess tags: - { name: access_check } cache.toolbar: class: Drupal\Core\Cache\CacheBackendInterface tags: - { name: cache.bin } factory_method: get factory_service: cache_factory arguments: [toolbar]