Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
310
Merge Requests
310
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
7e7c7154
Commit
7e7c7154
authored
Aug 25, 2014
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2325999
by swentel: Move config schema for Core field types out of field.module .
parent
6a168b0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
186 additions
and
185 deletions
+186
-185
core/config/schema/core.data_types.schema.yml
core/config/schema/core.data_types.schema.yml
+186
-0
core/modules/field/config/schema/field.schema.yml
core/modules/field/config/schema/field.schema.yml
+0
-185
No files found.
core/config/schema/core.data_types.schema.yml
View file @
7e7c7154
...
...
@@ -381,3 +381,189 @@ field_config_base:
core.base_field_override.*.*.*
:
type
:
field_config_base
label
:
'
Base
field
bundle
override'
# Schema for the String field type.
field.string.instance_settings
:
type
:
sequence
label
:
'
String
settings'
sequence
:
-
type
:
string
label
:
'
Setting'
field.string.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default'
mapping
:
value
:
type
:
string
label
:
'
Value'
# Schema for the configuration files of the Boolean field type.
field.boolean.settings
:
type
:
mapping
label
:
'
Boolean
settings'
mapping
:
on_label
:
type
:
string
label
:
'
On
label'
off_label
:
type
:
string
label
:
'
Off
label'
field.boolean.instance_settings
:
label
:
'
Boolean
settings'
type
:
mapping
mapping
:
{
}
field.boolean.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default'
mapping
:
value
:
type
:
integer
label
:
'
Value'
# Schema for the configuration files of the Email field type.
field.email.settings
:
type
:
sequence
label
:
'
Email
settings'
sequence
:
-
type
:
string
field.email.instance_settings
:
type
:
sequence
label
:
'
Email
settings'
sequence
:
-
type
:
string
label
:
'
Setting'
field.email.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default'
mapping
:
value
:
type
:
email
label
:
'
Value'
# Schema for configuration files of a numeric field types.
field.integer.settings
:
type
:
sequence
label
:
'
Integer
settings'
sequence
:
-
type
:
string
label
:
'
setting'
field.integer.instance_settings
:
type
:
mapping
label
:
'
Integer'
mapping
:
min
:
type
:
integer
label
:
'
Minimum'
max
:
type
:
integer
label
:
'
Maximum'
prefix
:
type
:
string
label
:
'
Prefix'
suffix
:
type
:
string
label
:
'
Suffix'
field.integer.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default
value'
mapping
:
value
:
type
:
integer
label
:
'
Value'
field.decimal.settings
:
type
:
mapping
label
:
'
Decimal
settings'
mapping
:
precision
:
type
:
integer
label
:
'
Precision'
scale
:
type
:
integer
label
:
'
Scale'
field.decimal.instance_settings
:
type
:
mapping
label
:
'
Decimal'
mapping
:
min
:
type
:
float
label
:
'
Minimum'
max
:
type
:
float
label
:
'
Maximum'
prefix
:
type
:
string
label
:
'
Prefix'
suffix
:
type
:
string
label
:
'
Suffix'
field.decimal.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default
value'
mapping
:
value
:
type
:
float
label
:
'
Value'
field.float.settings
:
type
:
sequence
label
:
'
Float
settings'
sequence
:
-
type
:
string
label
:
'
setting'
field.float.instance_settings
:
type
:
mapping
label
:
'
Float'
mapping
:
min
:
type
:
float
label
:
'
Minimum'
max
:
type
:
float
label
:
'
Maximum'
prefix
:
type
:
string
label
:
'
Prefix'
suffix
:
type
:
string
label
:
'
Suffix'
field.float.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default
value'
mapping
:
value
:
type
:
float
label
:
'
Value'
core/modules/field/config/schema/field.schema.yml
View file @
7e7c7154
...
...
@@ -62,191 +62,6 @@ entity_form_display.field.hidden:
sequence
:
-
type
:
string
# Schema for the String field type.
field.string.instance_settings
:
type
:
sequence
label
:
'
String
settings'
sequence
:
-
type
:
string
label
:
'
Setting'
field.string.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default'
mapping
:
value
:
type
:
string
label
:
'
Value'
# Schema for the configuration files of the Boolean field type.
field.boolean.settings
:
type
:
mapping
label
:
'
Boolean
settings'
mapping
:
on_label
:
type
:
string
label
:
'
On
label'
off_label
:
type
:
string
label
:
'
Off
label'
field.boolean.instance_settings
:
label
:
'
Boolean
settings'
type
:
mapping
mapping
:
{
}
field.boolean.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default'
mapping
:
value
:
type
:
integer
label
:
'
Value'
# Schema for the configuration files of the Email field type.
field.email.settings
:
type
:
sequence
label
:
'
Email
settings'
sequence
:
-
type
:
string
field.email.instance_settings
:
type
:
sequence
label
:
'
Email
settings'
sequence
:
-
type
:
string
label
:
'
Setting'
field.email.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default'
mapping
:
value
:
type
:
email
label
:
'
Value'
# Schema for configuration files of a numeric field types.
field.integer.settings
:
type
:
sequence
label
:
'
Integer
settings'
sequence
:
-
type
:
string
label
:
'
setting'
field.integer.instance_settings
:
type
:
mapping
label
:
'
Integer'
mapping
:
min
:
type
:
integer
label
:
'
Minimum'
max
:
type
:
integer
label
:
'
Maximum'
prefix
:
type
:
string
label
:
'
Prefix'
suffix
:
type
:
string
label
:
'
Suffix'
field.integer.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default
value'
mapping
:
value
:
type
:
integer
label
:
'
Value'
field.decimal.settings
:
type
:
mapping
label
:
'
Decimal
settings'
mapping
:
precision
:
type
:
integer
label
:
'
Precision'
scale
:
type
:
integer
label
:
'
Scale'
field.decimal.instance_settings
:
type
:
mapping
label
:
'
Decimal'
mapping
:
min
:
type
:
float
label
:
'
Minimum'
max
:
type
:
float
label
:
'
Maximum'
prefix
:
type
:
string
label
:
'
Prefix'
suffix
:
type
:
string
label
:
'
Suffix'
field.decimal.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default
value'
mapping
:
value
:
type
:
float
label
:
'
Value'
field.float.settings
:
type
:
sequence
label
:
'
Float
settings'
sequence
:
-
type
:
string
label
:
'
setting'
field.float.instance_settings
:
type
:
mapping
label
:
'
Float'
mapping
:
min
:
type
:
float
label
:
'
Minimum'
max
:
type
:
float
label
:
'
Maximum'
prefix
:
type
:
string
label
:
'
Prefix'
suffix
:
type
:
string
label
:
'
Suffix'
field.float.value
:
type
:
sequence
label
:
'
Default
value'
sequence
:
-
type
:
mapping
label
:
'
Default
value'
mapping
:
value
:
type
:
float
label
:
'
Value'
entity_view_display.field.number_decimal
:
type
:
entity_field_view_display_base
label
:
'
Number
decimal
display
format
settings'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment