You are here

constant MENU_MAX_DEPTH in Drupal 7

Same name and namespace in other branches
  1. 6 includes/menu.inc \MENU_MAX_DEPTH

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

Related topics

16 uses of MENU_MAX_DEPTH
book_menu_subtree_data in modules/book/book.module
Gets the data representing a subtree of the book hierarchy.
book_node_view_link in modules/book/book.module
Adds relevant book links to the node's links.
book_update_bid in modules/book/book.module
Updates the book ID of a page and its children when it moves to a new book.
menu_edit_item in modules/menu/menu.admin.inc
Menu callback; Build the menu link editing form.
menu_link_children_relative_depth in includes/menu.inc
Finds the depth of an item's children relative to its depth.

... See full list

File

includes/menu.inc, line 278
API for the Drupal menu system.

Code

define('MENU_MAX_DEPTH', 9);