public function MenuLinkTree::getSubtreeHeight in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::getSubtreeHeight()
- 9 core/lib/Drupal/Core/Menu/MenuLinkTree.php \Drupal\Core\Menu\MenuLinkTree::getSubtreeHeight()
File
- core/
lib/ Drupal/ Core/ Menu/ MenuLinkTree.php, line 296
Class
- MenuLinkTree
- Implements the loading, transforming and rendering of menu link trees.
Namespace
Drupal\Core\MenuCode
public function getSubtreeHeight($id) {
return $this->treeStorage
->getSubtreeHeight($id);
}