constant FIELD_BEHAVIOR_DEFAULT in Drupal 7
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
Related topics
6 uses of FIELD_BEHAVIOR_DEFAULT
- FieldInfo::prepareInstance in modules/
field/ field.info.class.inc - Prepares an instance definition for the current run-time context.
- field_behaviors_widget in modules/
field/ field.info.inc - Determines the behavior of a widget with respect to an operation.
- field_default_form in modules/
field/ field.form.inc - Creates a form element for a field and can populate it with a default value.
- field_default_form_errors in modules/
field/ field.form.inc - Transfer field-level validation errors to widgets.
- field_ui_field_edit_form in modules/
field_ui/ field_ui.admin.inc - Form constructor for the field instance settings form.
File
- modules/
field/ field.module, line 255 - Attach custom data fields to Drupal entities.
Code
define('FIELD_BEHAVIOR_DEFAULT', 0x2);