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

Related topics

16 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_multiple_value_form in modules/field/field.form.inc
Special handling to create form elements for multiple values.
FileFieldDisplayTestCase::testNodeDisplay in modules/file/tests/file.test
Tests normal formatter display on node display.
FileFieldValidateTestCase::testRequired in modules/file/tests/file.test
Tests the required property on file fields.

... See full list

File

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

Code

define('FIELD_CARDINALITY_UNLIMITED', -1);

Comments

GeraldNDA’s picture

See the change notice ==> https://www.drupal.org/node/2134999