function MenuLinkTreeInterface::maxDepth

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

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.