public function MenuTreeStorage::maxDepth

public MenuTreeStorage::maxDepth()

The maximum depth of tree the storage implementation supports.

Return value

int The maximum depth.

Overrides MenuTreeStorageInterface::maxDepth

File

core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 130

Class

MenuTreeStorage
Provides a menu tree storage using the database.

Namespace

Drupal\Core\Menu

Code

public function maxDepth() {
  return static::MAX_DEPTH;
}

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