public MenuTreeStorageInterface::loadByRoute($route_name, array $route_parameters = array(), $menu_name = NULL)
Loads multiple plugin definitions from the storage based on route.
string $route_name: The route name.
array $route_parameters: (optional) The route parameters. Defaults to an empty array.
string $menu_name: (optional) Restricts the found links to just those in the named menu.
array An array of menu link definitions keyed by ID and ordered by depth.
public function loadByRoute($route_name, array $route_parameters = array(), $menu_name = NULL);
© 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!MenuTreeStorageInterface.php/function/MenuTreeStorageInterface::loadByRoute/8.1.x