You are here

constant MenuStorage::MAX_ID_LENGTH in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/system/src/MenuStorage.php \Drupal\system\MenuStorage::MAX_ID_LENGTH
  2. 9 core/modules/system/src/MenuStorage.php \Drupal\system\MenuStorage::MAX_ID_LENGTH

Menu names have a maximum length of 32.

This is based on:

Overrides ConfigEntityStorage::MAX_ID_LENGTH

See also

\Drupal\Core\Menu\MenuTreeStorage::schemaDefinition()

\Drupal\menu_link_content\Entity\MenuLinkContent::baseFieldDefinitions()

File

core/modules/system/src/MenuStorage.php, line 23

Class

MenuStorage
Defines the storage class for menu configuration entities.

Namespace

Drupal\system

Code

const MAX_ID_LENGTH = 32;