Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
ad5810ed
Commit
ad5810ed
authored
Oct 5, 2013
by
Angie Byron
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2047997
follow-up by asimmonds: Remove FIELD_BEHAVIOR_* constants.
parent
de9df46a
No related branches found
No related tags found
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/field/field.module
+0
-26
0 additions, 26 deletions
core/modules/field/field.module
with
0 additions
and
26 deletions
core/modules/field/field.module
+
0
−
26
View file @
ad5810ed
...
...
@@ -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().
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment