constant 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
MenuTest::addCustomMenu in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
Add custom menu.
MenuTest::addCustomMenuCRUD in drupal/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
Add custom menu using CRUD functions.
menu_edit_menu in drupal/core/modules/menu/menu.admin.inc
Menu callback; Build the form that handles the adding/editing of a custom menu.

File

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

Code

const MENU_MAX_MENU_NAME_LENGTH_UI = 27;