navigation.services.yml

Same filename in other branches
  1. 11.x core/modules/navigation/navigation.services.yml
core/modules/navigation/navigation.services.yml

File

core/modules/navigation/navigation.services.yml

View source
  1. services:
  2. navigation.renderer:
  3. class: Drupal\navigation\NavigationRenderer
  4. arguments:
  5. [
  6. '@config.factory',
  7. '@module_handler',
  8. '@current_route_match',
  9. '@plugin.manager.menu.local_task',
  10. '@entity_type.manager',
  11. '@image.factory',
  12. '@file_url_generator',
  13. '@plugin.manager.layout_builder.section_storage',
  14. '@request_stack',
  15. '@extension.list.module'
  16. ]
  17. Drupal\navigation\NavigationRenderer: '@navigation.renderer'
  18. navigation.menu_tree:
  19. class: Drupal\navigation\Menu\NavigationMenuLinkTree
  20. arguments:
  21. [
  22. '@menu.tree_storage',
  23. '@plugin.manager.menu.link',
  24. '@router.route_provider',
  25. '@menu.active_trail',
  26. '@callable_resolver',
  27. ]
  28. navigation.user_lazy_builder:
  29. class: Drupal\navigation\UserLazyBuilder
  30. arguments: ['@module_handler', '@current_user']
  31. Drupal\navigation\UserLazyBuilders: '@navigation.user_lazy_builder'

Services

Title Deprecated Summary
Drupal\navigation\NavigationRenderer
Drupal\navigation\UserLazyBuilders
navigation.menu_tree Drupal\navigation\Menu\NavigationMenuLinkTree
navigation.renderer Drupal\navigation\NavigationRenderer
navigation.user_lazy_builder Drupal\navigation\UserLazyBuilder

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.