Commit ad5810ed authored by webchick's avatar webchick
Browse files

Issue #2047997 follow-up by asimmonds: Remove FIELD_BEHAVIOR_* constants.

parent de9df46a
...@@ -80,32 +80,6 @@ ...@@ -80,32 +80,6 @@
*/ */
const FIELD_CARDINALITY_UNLIMITED = -1; const FIELD_CARDINALITY_UNLIMITED = -1;
/**
* Value for field API indicating a widget doesn't accept default values.
*
* @see hook_field_widget_info()
*/
const FIELD_BEHAVIOR_NONE = 0x0001;
/**
* Value for field API concerning widget default and multiple value settings.
*
* @see hook_field_widget_info()
*
* 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.
*/
const FIELD_BEHAVIOR_DEFAULT = 0x0002;
/**
* Value for field API indicating a widget can receive several field values.
*
* @see hook_field_widget_info()
*/
const FIELD_BEHAVIOR_CUSTOM = 0x0004;
/** /**
* Implements hook_help(). * Implements hook_help().
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment