You are here

menu_token.services.yml in Menu Token 8

Same filename and directory in other branches
  1. 9.1.x menu_token.services.yml

File

menu_token.services.yml
View source
  1. services:
  2. menu_token.event_subscriber:
  3. class: Drupal\menu_token\EventSubscriber\MenuTokenSubscriber
  4. arguments: ['@menu_token.context_manager']
  5. tags:
  6. - { name: 'event_subscriber' }
  7. menu_token.token_replacer:
  8. class: Drupal\menu_token\Service\TokenReplacer
  9. arguments: ['@token', '@context.repository','@token.entity_mapper','@entity_type.manager']
  10. menu_token.context_manager:
  11. class: Drupal\menu_token\Service\MenuTokenContextManager
  12. arguments: ['@token', '@context.repository','@token.entity_mapper','@entity_type.manager','@state','@menu_token.manager.menu.link']
  13. menu_token.manager.menu.link:
  14. class: Drupal\menu_token\Service\MenuTokenMenuLinkManager
  15. arguments: ['@menu.tree_storage', '@menu_link.static.overrides', '@module_handler']
  16. menu_token.tree_storage:
  17. class: Drupal\menu_token\Service\MenuTokenTreeStorage
  18. arguments: ['@database', '@cache.menu', '@cache_tags.invalidator', 'menu_tree']