You are here

constant FIELD_CARDINALITY_UNLIMITED in Drupal 7

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

Related topics

28 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_default_validate in modules/field/field.default.inc
Generic field validation handler.
field_multiple_value_form in modules/field/field.form.inc
Special handling to create form elements for multiple values.

... See full list

File

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

Code

define('FIELD_CARDINALITY_UNLIMITED', -1);