public MenuLinkTreeInterface::load($menu_name, MenuTreeParameters $parameters)
Loads a menu tree with a menu link plugin instance at each element.
string $menu_name: The name of the menu.
\Drupal\Core\Menu\MenuTreeParameters $parameters: The parameters to determine which menu links to be loaded into a tree.
\Drupal\Core\Menu\MenuLinkTreeElement[] A menu link tree.
public function load($menu_name, MenuTreeParameters $parameters);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuLinkTreeInterface.php/function/MenuLinkTreeInterface::load/8.1.x