function MenuActiveTrail::getActiveTrailIds
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.
Overrides MenuActiveTrailInterface::getActiveTrailIds
File
-
core/
lib/ Drupal/ Core/ ProxyClass/ Menu/ MenuActiveTrail.php, line 73
Class
- MenuActiveTrail
- Provides a proxy class for \Drupal\Core\Menu\MenuActiveTrail.
Namespace
Drupal\Core\ProxyClass\MenuCode
public function getActiveTrailIds($menu_name) {
return $this->lazyLoadItself()
->getActiveTrailIds($menu_name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.