Commit 2eaac441 authored by alexpott's avatar alexpott

Issue #2331627 by swentel, andypost: Move config schema for Core field types out of field.module.

parent f1fa0c8b
......@@ -157,3 +157,83 @@ entity_form_display.field.boolean_checkbox:
label: 'Settings'
sequence:
- type: string
entity_form_display.field.hidden:
type: entity_field_form_display_base
label: '- Hidden - format settings'
mapping:
settings:
type: sequence
label: 'Settings'
sequence:
- type: string
entity_form_display.field.number:
type: entity_field_form_display_base
label: 'Number default display format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
placeholder:
type: label
label: 'Placeholder'
entity_form_display.field.checkbox:
type: entity_field_form_display_base
label: 'Single on/off checkbox format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
display_label:
type: boolean
label: 'Use field label instead of the "On value" as label'
entity_view_display.field.number_decimal:
type: entity_field_view_display_base
label: 'Number decimal display format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
thousand_separator:
type: string
label: 'Thousand marker'
decimal_separator:
type: string
label: 'Decimal marker'
scale:
type: integer
label: 'Scale'
prefix_suffix:
type: boolean
label: 'Display prefix and suffix.'
entity_view_display.field.number_integer:
type: entity_field_view_display_base
label: 'Number interger display format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
thousand_separator:
type: string
label: 'Thousand marker'
prefix_suffix:
type: boolean
label: 'Display prefix and suffix.'
entity_view_display.field.number_unformatted:
type: entity_field_view_display_base
label: 'Number unformatted display format settings'
mapping:
settings:
type: sequence
label: 'Settings'
sequence:
- type: string
......@@ -51,83 +51,3 @@ field.storage.*.*:
field.instance.*.*.*:
type: field_config_base
label: 'Field instance'
entity_form_display.field.hidden:
type: entity_field_form_display_base
label: '- Hidden - format settings'
mapping:
settings:
type: sequence
label: 'Settings'
sequence:
- type: string
entity_view_display.field.number_decimal:
type: entity_field_view_display_base
label: 'Number decimal display format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
thousand_separator:
type: string
label: 'Thousand marker'
decimal_separator:
type: string
label: 'Decimal marker'
scale:
type: integer
label: 'Scale'
prefix_suffix:
type: boolean
label: 'Display prefix and suffix'
entity_view_display.field.number_integer:
type: entity_field_view_display_base
label: 'Number interger display format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
thousand_separator:
type: string
label: 'Thousand marker'
prefix_suffix:
type: boolean
label: 'Display prefix and suffix'
entity_view_display.field.number_unformatted:
type: entity_field_view_display_base
label: 'Number unformatted display format settings'
mapping:
settings:
type: sequence
label: 'Settings'
sequence:
- type: string
entity_form_display.field.number:
type: entity_field_form_display_base
label: 'Number default display format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
placeholder:
type: label
label: 'Placeholder'
entity_form_display.field.checkbox:
type: entity_field_form_display_base
label: 'Single on/off checkbox format settings'
mapping:
settings:
type: mapping
label: 'Settings'
mapping:
display_label:
type: boolean
label: 'Use field label instead of the "On value" as label'
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