blob: 0d9d9560f6a83da46291c0467a30c61358565f8b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
namespace Drupal\system;
use Drupal\Core\Config\Entity\ConfigEntityStorage;
/**
* Defines the storage class for menu configuration entities.
*/
class MenuStorage extends ConfigEntityStorage {
/**
* Menu names have a maximum length of 32.
*
* This is based on:
* - menu_tree table schema definition,
* - \Drupal\Core\Config\Entity\ConfigEntityStorage::MAX_ID_LENGTH
* - menu_name base field on the Menu Link content entity.
*
* @see \Drupal\Core\Menu\MenuTreeStorage::schemaDefinition()
* @see \Drupal\menu_link_content\Entity\MenuLinkContent::baseFieldDefinitions()
*/
const MAX_ID_LENGTH = 32;
}
|