FieldStorageConfig::$cardinality

The field cardinality.

The maximum number of values the field can hold. Possible values are positive integers or FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED. Defaults to 1.

Type: int

File

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

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

protected $cardinality = 1;
doc_Drupal
2016-10-29 09:12:14
Comments
Leave a Comment

Please login to continue.