You are here

menu_trail_by_path.services.yml in Menu Trail By Path 8

File

menu_trail_by_path.services.yml
View source
  1. services:
  2. menu_trail_by_path.menu_tree_storage:
  3. class: Drupal\menu_trail_by_path\Menu\MenuTreeStorage
  4. arguments: ['@database', '@cache.menu', '@cache_tags.invalidator', 'menu_tree']
  5. public: false # Private to plugin.manager.menu.link and menu.link_tree
  6. tags:
  7. - { name: backend_overridable }
  8. menu_trail_by_path.path_helper:
  9. class: Drupal\menu_trail_by_path\Path\CurrentPathHelper
  10. arguments: ['@current_route_match', '@router.request_context', '@config.factory']
  11. menu_trail_by_path.menu_helper:
  12. class: Drupal\menu_trail_by_path\Menu\MenuTreeStorageMenuHelper
  13. arguments: ['@plugin.manager.menu.link', '@menu_trail_by_path.menu_tree_storage']