Search for getCardinality

  1. Search 7.x for getCardinality
  2. Search 9.5.x for getCardinality
  3. Search 10.3.x for getCardinality
  4. Search 11.x for getCardinality
  5. Other projects
Title Object type File name Summary
BaseFieldDefinition::getCardinality function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Returns the maximum number of items allowed for the field.
Data::getCardinality function core/modules/jsonapi/src/JsonApiResource/Data.php Gets the cardinality of this collection.
FieldStorageConfig::getCardinality function core/modules/field/src/Entity/FieldStorageConfig.php Returns the maximum number of items allowed for the field.
FieldStorageConfigEditForm::getCardinalityForm function core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php Builds the cardinality form.
FieldStorageDefinitionInterface::getCardinality function core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php Returns 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.