Value for field API concerning widget default and multiple value settings.

When used in a widget default context, indicates the widget accepts default values. When used in a multiple value context for a widget that allows the input of one single field value, indicates that the widget will be repeated for each value input.

See also

hook_field_widget_info()

Related topics

3 uses of FIELD_BEHAVIOR_DEFAULT
field_behaviors_widget in modules/field/field.info.inc
Determines the behavior of a widget with respect to an operation.
field_default_form_errors in modules/field/field.form.inc
Transfer field-level validation errors to widgets.
hook_field_widget_info in modules/field/field.api.php
Expose Field API widget types.

File

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

Code

define('FIELD_BEHAVIOR_DEFAULT', 0x2);