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

Related topics

27 uses of FIELD_CARDINALITY_UNLIMITED
AJAXMultiFormTestCase::setUp in modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
FieldFormTestCase::setUp in modules/field/tests/field.test
Set the default field storage backend for fields created during tests.
field_add_more_js in modules/field/field.form.inc
Ajax callback in response to a new empty widget being added to the form.
field_multiple_value_form in modules/field/field.form.inc
Special handling to create form elements for multiple values.
field_sql_storage_field_storage_load in modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_load().

... See full list

File

modules/field/field.module, line 236
Attach custom data fields to Drupal entities.

Code

define('FIELD_CARDINALITY_UNLIMITED', -1);