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\Menu
Code
public function getActiveTrailIds($menu_name);
Please login to continue.