constant MENU_MAX_DEPTH

The maximum depth of a menu links tree - matches the number of p columns.

Related topics

17 uses of MENU_MAX_DEPTH
book_menu_subtree_data in drupal/core/modules/book/book.module
Gets the data representing a subtree of the book hierarchy.
book_node_view_link in drupal/core/modules/book/book.module
Adds relevant book links to the node's links.
book_update_bid in drupal/core/modules/book/book.module
Updates the book ID of a page and its children when it moves to a new book.
MenuHierarchy::query in drupal/core/modules/views/lib/Drupal/views/Plugin/views/sort/MenuHierarchy.php
Called to add the sort to a query.
menu_edit_item in drupal/core/modules/menu/menu.admin.inc
Menu callback; Build the menu link editing form.

... See full list

File

drupal/core/includes/menu.inc, line 268
API for the Drupal menu system.

Code

const MENU_MAX_DEPTH = 9;