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;
}
doc_Drupal
2016-10-29 09:27:40
Comments
Leave a Comment

Please login to continue.