You are here

public function MenuLinkTreeInterface::maxDepth in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 107
Contains \Drupal\Core\Menu\MenuLinkTreeInterface.

Class

MenuLinkTreeInterface
Defines an interface for loading, transforming and rendering menu link trees.

Namespace

Drupal\Core\Menu

Code

public function maxDepth();