You are here

groupmenu.services.yml in Group Menu 8

File

groupmenu.services.yml
View source
  1. services:
  2. groupmenu.route_subscriber:
  3. class: Drupal\groupmenu\Routing\GroupMenuRouteSubscriber
  4. tags:
  5. - { name: event_subscriber }
  6. groupmenu.menu:
  7. class: Drupal\groupmenu\GroupMenuService
  8. arguments: ['@entity_type.manager', '@current_user', '@group.membership_loader']
  9. groupmenu.config_overrides:
  10. class: \Drupal\groupmenu\GroupMenuConfigOverrides
  11. arguments: ['@config.storage', '@current_user', '@cache.groupmenu']
  12. tags:
  13. - { name: config.factory.override, priority: 5 }
  14. cache.groupmenu:
  15. class: Drupal\Core\Cache\CacheBackendInterface
  16. tags:
  17. - { name: cache.bin }
  18. factory: cache_factory:get
  19. arguments: [groupmenu]