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 0000000..3c832a7 --- /dev/null +++ b/core/modules/language/config/schema/language.schema.yml @@ -0,0 +1,40 @@ +# 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'