From 58e0453af57dc93e17c95de474d461b4c862fb36 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Wed, 4 Feb 2015 13:50:17 +0000 Subject: [PATCH] Issue #2419857 by Wim Leers, alexpott: Responsive image and View mode schemas should use the config_entity type, can then be simpler --- core/config/schema/core.entity.schema.yml | 14 +------------- .../config/schema/responsive_image.schema.yml | 14 +------------- 2 files changed, 2 insertions(+), 26 deletions(-) diff --git a/core/config/schema/core.entity.schema.yml b/core/config/schema/core.entity.schema.yml index de9530d38655..059cccdde6dc 100644 --- a/core/config/schema/core.entity.schema.yml +++ b/core/config/schema/core.entity.schema.yml @@ -1,33 +1,21 @@ # Schema for Configuration files of the entity module. core.entity_view_mode.*.*: - type: mapping + type: config_entity label: 'Entity view mode settings' mapping: id: type: string label: 'ID' - uuid: - type: string - label: 'UUID' label: type: label label: 'The human-readable name of the view mode' targetEntityType: type: string label: 'Target entity type' - status: - type: boolean - label: 'Enabled' cache: type: boolean label: 'Cached' - langcode: - type: string - label: 'Default language' - dependencies: - type: config_dependencies - label: 'Dependencies' core.entity_form_mode.*.*: type: config_entity diff --git a/core/modules/responsive_image/config/schema/responsive_image.schema.yml b/core/modules/responsive_image/config/schema/responsive_image.schema.yml index 52fc946b137e..f95379696dd2 100644 --- a/core/modules/responsive_image/config/schema/responsive_image.schema.yml +++ b/core/modules/responsive_image/config/schema/responsive_image.schema.yml @@ -1,15 +1,12 @@ # Schema for the configuration files of the Responsive Image module. responsive_image.mappings.*: - type: mapping + type: config_entity label: 'Responsive image mapping' mapping: id: type: string label: 'Machine-readable name' - uuid: - type: string - label: 'UUID' label: type: label label: 'Label' @@ -32,15 +29,6 @@ responsive_image.mappings.*: breakpointGroup: type: string label: 'Breakpoint group' - status: - type: boolean - label: 'Status' - langcode: - type: string - label: 'Default language' - dependencies: - type: config_dependencies - label: 'Dependencies' field.formatter.settings.responsive_image: type: mapping