You are here

constant MenuTreeStorage::MAX_DEPTH in Colossal Menu 8

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

The maximum depth of a menu links tree.

This storage has no theoretical limit, but we'll set a reasonable limit.

File

src/Menu/MenuTreeStorage.php, line 22

Class

MenuTreeStorage
Provides a menu tree storage using the database.

Namespace

Drupal\colossal_menu\Menu

Code

const MAX_DEPTH = 20;