Skip to content
Snippets Groups Projects
Commit ad5810ed authored by Angie Byron's avatar Angie Byron
Browse files

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

parent de9df46a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -80,32 +80,6 @@
*/
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().
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment