Search for setCardinality

  1. Search 7.x for setCardinality
  2. Search 9.5.x for setCardinality
  3. Search 8.9.x for setCardinality
  4. Search 10.3.x for setCardinality
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::setCardinality function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Sets the maximum number of items allowed for the field.
FieldStorageConfig::setCardinality function core/modules/field/src/Entity/FieldStorageConfig.php Sets the maximum number of items allowed for the field.
FieldStorageConfigInterface::setCardinality function core/modules/field/src/FieldStorageConfigInterface.php Sets the maximum number of items allowed for the field.

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