constant MENU_MAX_PARTS

The maximum number of path elements for a menu callback

Related topics

4 uses of MENU_MAX_PARTS
MenuLinkStorageController::preSave in drupal/core/modules/menu_link/lib/Drupal/menu_link/MenuLinkStorageController.php
Overrides DatabaseStorageController::preSave().
menu_get_item in drupal/core/includes/menu.inc
Gets a router item.
_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 277
API for the Drupal menu system.

Code

const MENU_MAX_PARTS = 9;