Drupal::menuTree

public static Drupal::menuTree()

Returns the menu tree.

Return value

\Drupal\Core\Menu\MenuLinkTreeInterface The menu tree.

File

core/lib/Drupal.php, line 681
Contains \Drupal.

Class

Drupal
Static Service Container wrapper.

Code

public static function menuTree() {
  return static::getContainer()->get('menu.link_tree');
}
doc_Drupal
2016-10-29 09:02:48
Comments
Leave a Comment

Please login to continue.