diff --git a/core/modules/content_translation/config/schema/content_translation.schema.yml b/core/modules/content_translation/config/schema/content_translation.schema.yml new file mode 100644 index 0000000..747cfa0 --- /dev/null +++ b/core/modules/content_translation/config/schema/content_translation.schema.yml @@ -0,0 +1,19 @@ +# Schema for the configuration files of the Content Translation module. + +content_translation.settings.*.*: + type: mapping + label: 'Content language' + mapping: + content_translation: + type: mapping + label: 'Content translation settings' + mapping: + enabled: + type: boolean + label: 'Translatable' + fields: + type: sequence + label: 'Fields' + sequence: + - type: boolean + label: 'Enabled' diff --git a/core/modules/language/config/schema/language.schema.yml b/core/modules/language/config/schema/language.schema.yml index 7b2ceb3..e48c9a2 100644 --- a/core/modules/language/config/schema/language.schema.yml +++ b/core/modules/language/config/schema/language.schema.yml @@ -106,3 +106,22 @@ language.entity.*: langcode: type: string label: 'Default language' + +language.settings.*.*: + type: mapping + label: 'Language settings' + mapping: + language: + type: mapping + label: 'Custom language settings' + mapping: + default_configuration: + type: mapping + label: 'Default language' + mapping: + langcode: + type: string + label: 'Default language' + language_show: + type: boolean + label: 'Show language selector on create and edit pages'