From 833c7142a6028eba76207c439185d32c503d3ab2 Mon Sep 17 00:00:00 2001 From: webchick Date: Fri, 22 Nov 2013 21:52:41 -0800 Subject: [PATCH] Issue #2096373 by sushantpaste, jsbalsera, Sumeet.Pareek, gaurav.goyal: Provide config schema for View modes. --- .../entity/config/schema/entity.schema.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 core/modules/entity/config/schema/entity.schema.yml diff --git a/core/modules/entity/config/schema/entity.schema.yml b/core/modules/entity/config/schema/entity.schema.yml new file mode 100644 index 00000000000..6022939a813 --- /dev/null +++ b/core/modules/entity/config/schema/entity.schema.yml @@ -0,0 +1,27 @@ +# Schema for Configuration files of the entity module. + +entity.view_mode.*.*: + type: mapping + label: 'Entity View Mode settings' + mapping: + id: + type: string + label: 'Entity View Mode ID' + uuid: + type: string + label: 'UUID' + label: + type: label + label: 'The human-readable name of the form or view mode' + targetEntityType: + type: string + label: 'Used for Entity type' + status: + type: boolean + label: 'Enabled' + cache: + type: boolean + label: 'Cached' + langcode: + type: string + label: 'Default language'