toolbar.menu_tree

Same name in other branches
  1. 8.9.x core/modules/toolbar/toolbar.services.yml \toolbar.menu_tree
  2. 10 core/modules/toolbar/toolbar.services.yml \toolbar.menu_tree
  3. 11.x 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

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'

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