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

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

Related topics

6 uses of MENU_MAX_DEPTH
menu_edit_item in modules/menu/menu.admin.inc
Menu callback; Build the menu link editing form.
menu_form_alter in modules/menu/menu.module
Implementation of hook_form_alter(). Adds menu item fields to the node form.
theme_book_admin_table in modules/book/book.admin.inc
Theme function for the book administration page form.
theme_menu_overview_form in modules/menu/menu.admin.inc
Theme the menu overview form into a table.
_book_parent_depth_limit in modules/book/book.module
Find the depth limit for items in the parent select.

... See full list

File

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

Code

define('MENU_MAX_DEPTH', 9);