From 22a09e4dafb59ea34c47612c6d17151f6e4a0cd7 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Fri, 14 Jun 2013 23:31:17 +0200 Subject: [PATCH] Issue #2013891 by swentel: Remove widget config schema from text, options and field modules. --- .../field/config/schema/field.schema.yml | 15 -------- .../options/config/schema/options.schema.yml | 29 --------------- .../text/config/schema/text.schema.yml | 36 ------------------- 3 files changed, 80 deletions(-) diff --git a/core/modules/field/config/schema/field.schema.yml b/core/modules/field/config/schema/field.schema.yml index 51cfc8fd7d36..1b23198d7895 100644 --- a/core/modules/field/config/schema/field.schema.yml +++ b/core/modules/field/config/schema/field.schema.yml @@ -123,21 +123,6 @@ field.instance.*.*.*: label: 'Default value funtion' settings: type: field.[%parent.field_type].instance_settings - widget: - type: mapping - label: 'Widget' - mapping: - weight: - type: integer - label: 'Weight' - type: - type: string - label: 'Widget type' - settings: - type: field_widget.[%parent.type].settings - module: - type: string - label: 'Module' field_type: type: string label: 'Field type' diff --git a/core/modules/options/config/schema/options.schema.yml b/core/modules/options/config/schema/options.schema.yml index b63ba8556e34..d406d76837de 100644 --- a/core/modules/options/config/schema/options.schema.yml +++ b/core/modules/options/config/schema/options.schema.yml @@ -131,32 +131,3 @@ field.list_boolean.value: value: type: boolean label: 'Value' - -field_widget.options_select.settings: - type: sequence - label: 'Select list widget settings' - sequence: - - type: string - label: 'Value' - -field_widget.options_buttons.settings: - type: sequence - label: 'Check boxes/radio buttons widget settings' - sequence: - - type: string - label: 'Value' - -field_widget.options_onoff.settings: - type: mapping - label: 'Single on/off checkbox widget settings' - mapping: - display_label: - type: boolean - label: 'Use field label instead of the "On value" as label' - -field_widget.options_list.settings: - type: sequence - label: 'Select list widget settings' - sequence: - - type: string - label: 'Value' diff --git a/core/modules/text/config/schema/text.schema.yml b/core/modules/text/config/schema/text.schema.yml index 0dd0cf9f5f18..9df1b386ff4d 100644 --- a/core/modules/text/config/schema/text.schema.yml +++ b/core/modules/text/config/schema/text.schema.yml @@ -108,39 +108,3 @@ field.text_with_summary.value: format: type: string label: 'Text format' - -field_widget.text_textfield.settings: - type: mapping - label: 'Text field widget settings' - mapping: - size: - type: integer - label: 'Size of textfield' - placeholder: - type: label - label: 'Placeholder' - -field_widget.text_textarea.settings: - type: mapping - label: 'Long text widget settings' - mapping: - rows: - type: integer - label: 'Rows' - placeholder: - type: label - label: 'Placeholder' - -field_widget.text_textarea_with_summary.settings: - type: mapping - label: 'Text area widget settings' - mapping: - rows: - type: integer - label: 'Rows' - summary_rows: - type: integer - label: 'Summary rows' - placeholder: - type: label - label: 'Placeholder' -- GitLab