diff --git a/core/config/schema/core.entity.schema.yml b/core/config/schema/core.entity.schema.yml index b4adf40e903..6bd410ba95c 100644 --- a/core/config/schema/core.entity.schema.yml +++ b/core/config/schema/core.entity.schema.yml @@ -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 diff --git a/core/modules/field/config/schema/field.schema.yml b/core/modules/field/config/schema/field.schema.yml index be023bd2323..7aeb0ee6fe2 100644 --- a/core/modules/field/config/schema/field.schema.yml +++ b/core/modules/field/config/schema/field.schema.yml @@ -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'