public function MenuLinkTree::getExpanded in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::getExpanded()
- 9 core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::getExpanded()
File
- core/
lib/ Drupal/ Core/ Menu/ MenuLinkTree.php, line 303
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);
}