navigation.services.yml
Same filename in other branches
File
-
core/
modules/ navigation/ navigation.services.yml
View source
- services:
- navigation.renderer:
- class: Drupal\navigation\NavigationRenderer
- arguments:
- [
- '@config.factory',
- '@module_handler',
- '@current_route_match',
- '@plugin.manager.menu.local_task',
- '@entity_type.manager',
- '@image.factory',
- '@file_url_generator',
- '@plugin.manager.layout_builder.section_storage',
- '@request_stack',
- '@extension.list.module'
- ]
- Drupal\navigation\NavigationRenderer: '@navigation.renderer'
-
- navigation.menu_tree:
- class: Drupal\navigation\Menu\NavigationMenuLinkTree
- arguments:
- [
- '@menu.tree_storage',
- '@plugin.manager.menu.link',
- '@router.route_provider',
- '@menu.active_trail',
- '@callable_resolver',
- ]
-
- navigation.user_lazy_builder:
- class: Drupal\navigation\UserLazyBuilder
- arguments: ['@module_handler', '@current_user']
- 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.