function MenuLinkTreeInterface::maxDepth
Same name in other branches
- 9 core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php \Drupal\Core\Menu\MenuLinkTreeInterface::maxDepth()
- 10 core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php \Drupal\Core\Menu\MenuLinkTreeInterface::maxDepth()
- 11.x core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php \Drupal\Core\Menu\MenuLinkTreeInterface::maxDepth()
Returns the maximum depth of tree that is supported.
Return value
int The maximum depth.
1 method overrides MenuLinkTreeInterface::maxDepth()
- MenuLinkTree::maxDepth in core/
lib/ Drupal/ Core/ Menu/ MenuLinkTree.php - Returns the maximum depth of tree that is supported.
File
-
core/
lib/ Drupal/ Core/ Menu/ MenuLinkTreeInterface.php, line 102
Class
- MenuLinkTreeInterface
- Defines an interface for loading, transforming and rendering menu link trees.
Namespace
Drupal\Core\MenuCode
public function maxDepth();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.