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

8.0.x
Alex Pott 2014-09-14 21:57:44 +01:00
parent f1fa0c8bbe
commit 2eaac44142
2 changed files with 80 additions and 80 deletions

View File

@ -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

View File

@ -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'