The maximum length of the field ID (machine name), in characters.
For fields created through Field UI, this includes the 'field_' prefix.
File
- drupal/core/modules/field/lib/Drupal/field/Plugin/Core/Entity/Field.php, line 44
- Contains \Drupal\field\Plugin\Core\Entity\Field.
Class
- Field
- Defines the Field entity.
Namespace
Drupal\field\Plugin\Core\Entity
Code
const ID_MAX_LENGTH = 32;