public function MenuLinkTreeInterface::maxDepth

public 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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuLinkTreeInterface.php/function/MenuLinkTreeInterface::maxDepth/8.1.x