function MenuTreeStorageInterface::maxDepth

Same name in other branches
  1. 9 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::maxDepth()
  2. 8.9.x core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::maxDepth()
  3. 10 core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php \Drupal\Core\Menu\MenuTreeStorageInterface::maxDepth()

The maximum depth of tree the storage implementation supports.

Return value

int The maximum depth.

1 method overrides MenuTreeStorageInterface::maxDepth()
MenuTreeStorage::maxDepth in core/lib/Drupal/Core/Menu/MenuTreeStorage.php

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();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.