From 59d72a2cc3bcd8ecc0d5f08e2e97c768405d467a Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 20 Mar 2013 18:14:42 -0400 Subject: [PATCH] Issue #1919178 by vijaycs85, YesCT, sandipmkhairnar: Create configuration schemas for language module. --- .../config/schema/language.schema.yml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 core/modules/language/config/schema/language.schema.yml diff --git a/core/modules/language/config/schema/language.schema.yml b/core/modules/language/config/schema/language.schema.yml new file mode 100644 index 00000000000..495f7242469 --- /dev/null +++ b/core/modules/language/config/schema/language.schema.yml @@ -0,0 +1,47 @@ +# Schema for the configuration files of the Language module. + +language.detection: + type: mapping + label: 'Language detection settings' + mapping: + selected_langcode: + type: string + label: 'Selected language code' + +language.negotiation: + type: mapping + label: 'Language detection methods' + mapping: + session: + type: mapping + label: 'Session' + mapping: + parameter: + type: string + label: 'Request/session parameter' + url: + type: mapping + label: 'Language from the URL (Path prefix or domain).' + mapping: + source: + type: string + label: 'Part of the URL that determines language' + prefixes: + type: sequence + label: 'Path prefix configuration' + sequence: + - type: string + label: 'Path prefix' + domains: + type: sequence + label: 'Domain configuration' + sequence: + - type: string + label: 'Domain' + +language.mappings: + type: sequence + label: 'Language mapping' + sequence: + - type: string + label: 'Language'