constant FIELD_CARDINALITY_UNLIMITED

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

Related topics

28 uses of FIELD_CARDINALITY_UNLIMITED
AJAXMultiFormTestCase::setUp in drupal-7.x/modules/simpletest/tests/ajax.test
Sets up a Drupal site for running functional and integration tests.
FieldFormTestCase::setUp in drupal-7.x/modules/field/tests/field.test
Set the default field storage backend for fields created during tests.
field_add_more_js in drupal-7.x/modules/field/field.form.inc
Ajax callback in response to a new empty widget being added to the form.
field_default_validate in drupal-7.x/modules/field/field.default.inc
Generic field validation handler.
field_multiple_value_form in drupal-7.x/modules/field/field.form.inc
Special handling to create form elements for multiple values.

... See full list

File

drupal-7.x/modules/field/field.module, line 236
Attach custom data fields to Drupal entities.

Code

define('FIELD_CARDINALITY_UNLIMITED', -1)