public function MenuLinkTreeInterface::maxDepth in Drupal 8
Same name and namespace in other branches
- 9 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();