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.
File
-
includes/
menu.inc, line 278
Code
define('MENU_MAX_DEPTH', 9);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.