You are here

protected property FieldStorageConfig::$cardinality in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Entity/FieldStorageConfig.php \Drupal\field\Entity\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 124
Contains \Drupal\field\Entity\FieldStorageConfig.

Class

FieldStorageConfig
Defines the Field storage configuration entity.

Namespace

Drupal\field\Entity

Code

protected $cardinality = 1;