public function MenuActiveTrailInterface::getActiveTrailIds
public MenuActiveTrailInterface::getActiveTrailIds($menu_name)
Gets the active trail IDs of the specified menu tree.
Parameters
string|NULL $menu_name: (optional) The menu name of the requested tree. If omitted, all menu trees will be searched.
Return value
array An array containing the active trail: a list of plugin IDs.
File
- core/lib/Drupal/Core/Menu/MenuActiveTrailInterface.php, line 23
Class
- MenuActiveTrailInterface
- Defines an interface for the active menu trail service.
Namespace
Drupal\Core\MenuCode
public function getActiveTrailIds($menu_name);
© 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!MenuActiveTrailInterface.php/function/MenuActiveTrailInterface::getActiveTrailIds/8.1.x