You are here

service toolbar.menu_tree in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/toolbar/toolbar.services.yml \toolbar.menu_tree
  2. 9 core/modules/toolbar/toolbar.services.yml \toolbar.menu_tree

Class

Drupal\toolbar\Menu\ToolbarMenuLinkTree
2 string references to toolbar.menu_tree
ToolbarController::preRenderAdministrationTray in core/modules/toolbar/src/Controller/ToolbarController.php
Renders the toolbar's administration tray.
ToolbarController::preRenderGetRenderedSubtrees in core/modules/toolbar/src/Controller/ToolbarController.php
#pre_render callback for toolbar_get_rendered_subtrees().

File

core/modules/toolbar/toolbar.services.yml
core/modules/toolbar/toolbar.services.yml

View source
  1. class: Drupal\toolbar\Menu\ToolbarMenuLinkTree
  2. arguments:
  3. - '@menu.tree_storage'
  4. - '@plugin.manager.menu.link'
  5. - '@router.route_provider'
  6. - '@menu.active_trail'
  7. - '@controller_resolver'