function MenuLinkTree::getExpanded
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::getExpanded()
- 8.9.x core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::getExpanded()
- 10 core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::getExpanded()
Overrides MenuLinkTreeInterface::getExpanded
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkTree.php, line 268
Class
- MenuLinkTree
- Implements the loading, transforming and rendering of menu link trees.
Namespace
Drupal\Core\MenuCode
public function getExpanded($menu_name, array $parents) {
return $this->treeStorage
->getExpanded($menu_name, $parents);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.