Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
menu.inc
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
constant MENU_MAX_PARTS
The maximum number of path elements for a menu callback
Related topics
Menu system
Define the navigation menus, and route page requests to code based on URLs.
Menu tree parameters
Parameters for a menu tree.
4 uses of MENU_MAX_PARTS
menu_get_item
in drupal/
core/
includes/
menu.inc
Gets a router item.
menu_link_save
in drupal/
core/
includes/
menu.inc
Saves a menu link.
_menu_find_router_path
in drupal/
core/
includes/
menu.inc
Finds the router path which will serve this path.
_menu_router_build
in drupal/
core/
includes/
menu.inc
Builds the router table based on the data from
hook_menu
().
File
drupal/
core/
includes/
menu.inc
, line 262
API for the Drupal menu system.
Code
const
MENU_MAX_PARTS
=
9
;