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