constant MENU_MAX_DEPTH

  1. 7.x drupal-7.x/includes/menu.inc MENU_MAX_DEPTH
  2. 6.x drupal-6.x/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 drupal-7.x/modules/book/book.module
Gets the data representing a subtree of the book hierarchy.
book_node_view_link in drupal-7.x/modules/book/book.module
Adds relevant book links to the node's links.
book_update_bid in drupal-7.x/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 drupal-7.x/modules/menu/menu.admin.inc
Menu callback; Build the menu link editing form.
menu_link_children_relative_depth in drupal-7.x/includes/menu.inc
Finds the depth of an item's children relative to its depth.

... See full list

File

drupal-7.x/includes/menu.inc, line 270
API for the Drupal menu system.

Code

define('MENU_MAX_DEPTH', 9)