FieldStorageConfig::NAME_MAX_LENGTH

Same name in other branches
  1. 8.9.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::NAME_MAX_LENGTH
  2. 10 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::NAME_MAX_LENGTH
  3. 11.x core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\FieldStorageConfig::NAME_MAX_LENGTH

The maximum length of the field name, in characters.

For fields created through Field UI, this includes the 'field_' prefix.

File

core/modules/field/src/Entity/FieldStorageConfig.php, line 59

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

const NAME_MAX_LENGTH = 32;

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