public MenuTreeStorageInterface::getExpanded($menu_name, array $parents)
Finds expanded links in a menu given a set of possible parents.
Parameters
string $menu_name: The menu name.
array $parents: One or more parent IDs to match.
Return value
array The menu link IDs that are flagged as expanded in this menu.
File
- core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 230
Class
- MenuTreeStorageInterface
- Defines an interface for storing a menu tree containing menu link IDs.
Namespace
Drupal\Core\Menu
Code
public function getExpanded($menu_name, array $parents);
Please login to continue.