FieldStorageConfigInterface::setCardinality

public FieldStorageConfigInterface::setCardinality($cardinality)

Sets the maximum number of items allowed for the field.

Parameters

int $cardinality: The cardinality value.

Return value

$this

File

core/modules/field/src/FieldStorageConfigInterface.php, line 79

Class

FieldStorageConfigInterface
Provides an interface defining a field storage entity.

Namespace

Drupal\field

Code

public function setCardinality($cardinality);
doc_Drupal
2016-10-29 09:12:32
Comments
Leave a Comment

Please login to continue.