MenuStorage::MAX_ID_LENGTH

Same name in other branches
  1. 9 core/modules/system/src/MenuStorage.php \Drupal\system\MenuStorage::MAX_ID_LENGTH
  2. 8.9.x core/modules/system/src/MenuStorage.php \Drupal\system\MenuStorage::MAX_ID_LENGTH
  3. 10 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;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.