function MenuLinkTreeInterface::maxDepth

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php \Drupal\Core\Menu\MenuLinkTreeInterface::maxDepth()
  2. 10 core/lib/Drupal/Core/Menu/MenuLinkTreeInterface.php \Drupal\Core\Menu\MenuLinkTreeInterface::maxDepth()
  3. 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\Menu

Code

public function maxDepth();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.