You are here

public function MenuTreeStorage::maxDepth in Colossal Menu 8

Same name and namespace in other branches
  1. 2.x src/Menu/MenuTreeStorage.php \Drupal\colossal_menu\Menu\MenuTreeStorage::maxDepth()

The maximum depth of tree the storage implementation supports.

Return value

int The maximum depth.

Overrides MenuTreeStorageInterface::maxDepth

File

src/Menu/MenuTreeStorage.php, line 76

Class

MenuTreeStorage
Provides a menu tree storage using the database.

Namespace

Drupal\colossal_menu\Menu

Code

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