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

Related topics

29 uses of FIELD_CARDINALITY_UNLIMITED
++field_sql_storage_field_storage_write in modules/field/modules/field_sql_storage/field_sql_storage.module
Implements hook_field_storage_write().
++hook_field_storage_write in modules/field/field.api.php
Write field data for an entity.
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.

... See full list

File

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

Code

define('FIELD_CARDINALITY_UNLIMITED', -1)