You are here

service menu.link_tree in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/core.services.yml \menu.link_tree

Class

Drupal\Core\Menu\MenuLinkTree
8 string references to menu.link_tree
Drupal::menuTree in core/lib/Drupal.php
Returns the menu tree.
DrupalTest::testMenuTree in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests the menuTree() method.
MenuForm::create in core/modules/menu_ui/src/MenuForm.php
Instantiates a new instance of this class.
MenuLinkTreeTest::setUp in core/modules/system/src/Tests/Menu/MenuLinkTreeTest.php
Performs setup tasks before each individual test method is run.
MenuTest::checkInvalidParentMenuLinks in core/modules/menu_ui/src/Tests/MenuTest.php
Tests that parent options are limited by depth when adding menu links.

... See full list

File

core/core.services.yml
core/core.services.yml

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