FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED
  2. 10 core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED
  3. 11.x core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php \Drupal\Core\Field\FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED

Value indicating a field accepts an unlimited number of values.

File

core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 31

Class

FieldStorageDefinitionInterface
Defines an interface for entity field storage definitions.

Namespace

Drupal\Core\Field

Code

const CARDINALITY_UNLIMITED = -1;

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