constant FIELD_CARDINALITY_UNLIMITED

Value for field API indicating a field accepts an unlimited number of values.

Related topics

32 uses of FIELD_CARDINALITY_UNLIMITED
Field::init in drupal/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php
Overrides Drupal\views\Plugin\views\HandlerBase::init().
Field::multiple_options_form in drupal/core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php
Provide options for multiple value fields.
field_add_more_js in drupal/core/modules/field/field.form.inc
Ajax callback: Responds to a new empty widget being added to the form.
field_default_validate in drupal/core/modules/field/field.default.inc
Generic field validation handler.
field_sql_storage_field_storage_load in drupal/core/modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_load().

... See full list

File

drupal/core/modules/field/field.module, line 224
Attach custom data fields to Drupal entities.

Code

const FIELD_CARDINALITY_UNLIMITED = -1;