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'); }
Please login to continue.