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

15 uses of MENU_MAX_DEPTH
book_link in drupal-6.x/modules/book/book.module
Implementation of hook_link().
book_menu_subtree_data in drupal-6.x/modules/book/book.module
Get the data representing a subtree of the book hierarchy.
book_update_bid in drupal-6.x/modules/book/book.module
Update the bid for a page and its children when it is moved to a new book.
menu_edit_item in drupal-6.x/modules/menu/menu.admin.inc
Menu callback; Build the menu link editing form.
menu_form_alter in drupal-6.x/modules/menu/menu.module
Implementation of hook_form_alter(). Adds menu item fields to the node form.

... See full list

File

drupal-6.x/includes/menu.inc, line 169
API for the Drupal menu system.

Code

define('MENU_MAX_DEPTH', 9)