navigation.services.yml
Same filename in other branches
File
-
core/
modules/ navigation/ navigation.services.yml
View source
- services:
- _defaults:
- autoconfigure: true
- navigation.renderer:
- class: Drupal\navigation\NavigationRenderer
- arguments:
- [
- '@config.factory',
- '@module_handler',
- '@current_route_match',
- '@plugin.manager.menu.local_task',
- '@image.factory',
- '@file_url_generator',
- '@plugin.manager.layout_builder.section_storage',
- '@request_stack',
- '@extension.list.module',
- '@current_user',
- '@navigation.entity_route_helper',
- ]
- 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.entity_route_helper:
- class: Drupal\navigation\EntityRouteHelper
- arguments:
- [
- '@current_route_match',
- '@entity_type.manager',
- '@cache.discovery',
- ]
- Drupal\navigation\EntityRouteHelper: '@navigation.entity_route_helper'
-
- plugin.manager.top_bar_item:
- class: Drupal\navigation\TopBarItemManager
- parent: default_plugin_manager
- Drupal\navigation\TopBarItemManagerInterface: '@plugin.manager.top_bar_item'
Services
Title | Deprecated | Summary |
---|---|---|
Drupal\navigation\EntityRouteHelper | ||
Drupal\navigation\NavigationRenderer | ||
Drupal\navigation\TopBarItemManagerInterface | ||
navigation.entity_route_helper | Drupal\navigation\EntityRouteHelper | |
navigation.menu_tree | Drupal\navigation\Menu\NavigationMenuLinkTree | |
navigation.renderer | Drupal\navigation\NavigationRenderer | |
plugin.manager.top_bar_item | Drupal\navigation\TopBarItemManager | |
_defaults |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.