W3cubDocs

/Drupal 8

public function MenuTreeStorageInterface::maxDepth

public MenuTreeStorageInterface::maxDepth()

The maximum depth of tree the storage implementation supports.

Return value

int The maximum depth.

File

core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 19

Class

MenuTreeStorageInterface
Defines an interface for storing a menu tree containing menu link IDs.

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!MenuTreeStorageInterface.php/function/MenuTreeStorageInterface::maxDepth/8.1.x