function MenuTreeStorageInterface::getExpanded
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::getExpanded()
- 8.9.x core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::getExpanded()
- 11.x core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::getExpanded()
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 231
Class
- MenuTreeStorageInterface
- Defines an interface for storing a menu tree containing menu link IDs.
Namespace
Drupal\Core\MenuCode
public function getExpanded($menu_name, array $parents);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.