public MenuLinkTree::getExpanded($menu_name, array $parents)
Finds expanded links in a menu given a set of possible parents.
string $menu_name: The menu name.
array $parents: One or more parent IDs to match.
array The menu link IDs that are flagged as expanded in this menu.
Overrides MenuLinkTreeInterface::getExpanded
public function getExpanded($menu_name, array $parents) { return $this->treeStorage->getExpanded($menu_name, $parents); }
© 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!MenuLinkTree.php/function/MenuLinkTree::getExpanded/8.1.x