You are here

constant MENU_MAX_MENU_NAME_LENGTH_UI in Drupal 7

Same name and namespace in other branches
  1. 8 core/modules/menu_ui/menu_ui.module \MENU_MAX_MENU_NAME_LENGTH_UI
  2. 6 modules/menu/menu.module \MENU_MAX_MENU_NAME_LENGTH_UI

Maximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix.

3 uses of MENU_MAX_MENU_NAME_LENGTH_UI
MenuTestCase::addCustomMenu in modules/menu/menu.test
Add custom menu.
MenuTestCase::addCustomMenuCRUD in modules/menu/menu.test
Add custom menu using CRUD functions.
menu_edit_menu in modules/menu/menu.admin.inc
Menu callback; Build the form that handles the adding/editing of a custom menu.

File

modules/menu/menu.module, line 18
Allows administrators to customize the site's navigation menus.

Code

define('MENU_MAX_MENU_NAME_LENGTH_UI', 27);