You are here

service toolbar.menu_tree in Zircon Profile 8

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

Class

Drupal\toolbar\Menu\ToolbarMenuLinkTree
3 string references to toolbar.menu_tree
admin_toolbar_prerender_toolbar_administration_tray in modules/admin_toolbar/admin_toolbar.module
Renders the toolbar's administration tray. This is a clone of core's toolbar_prerender_toolbar_administration_tray() function, which uses setMaxDepth(4) instead of setTopLevelOnly()
toolbar_prerender_toolbar_administration_tray in core/modules/toolbar/toolbar.module
Renders the toolbar's administration tray.
_toolbar_do_get_rendered_subtrees in core/modules/toolbar/toolbar.module
#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'
  8. - '@cache.menu'
  9. - '@current_route_match'