1. 8.3.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php EntityTypeInterface::ID_MAX_LENGTH
  2. 8.0.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php EntityTypeInterface::ID_MAX_LENGTH
  3. 8.1.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php EntityTypeInterface::ID_MAX_LENGTH
  4. 8.2.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php EntityTypeInterface::ID_MAX_LENGTH
  5. 8.4.x core/lib/Drupal/Core/Entity/EntityTypeInterface.php EntityTypeInterface::ID_MAX_LENGTH

The maximum length of ID, in characters.

2 uses of EntityTypeInterface::ID_MAX_LENGTH
Comment::baseFieldDefinitions in core/modules/comment/src/Entity/Comment.php
Provides base field definitions for an entity type.
comment_schema in core/modules/comment/comment.install
Implements hook_schema().

File

core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 20

Class

EntityTypeInterface
Provides an interface for an entity type and its metadata.

Namespace

Drupal\Core\Entity

Code

const ID_MAX_LENGTH = 32;