diff --git a/core/config/schema/core.data_types.schema.yml b/core/config/schema/core.data_types.schema.yml index 3bc0098..ef68a3e 100644 --- a/core/config/schema/core.data_types.schema.yml +++ b/core/config/schema/core.data_types.schema.yml @@ -574,8 +574,7 @@ field.boolean.storage_settings: field.boolean.field_settings: label: 'Boolean settings' - type: mapping - mapping: { } + type: sequence field.boolean.value: type: sequence diff --git a/core/modules/content_translation/config/schema/content_translation.schema.yml b/core/modules/content_translation/config/schema/content_translation.schema.yml index 6e4167e..db56a16 100644 --- a/core/modules/content_translation/config/schema/content_translation.schema.yml +++ b/core/modules/content_translation/config/schema/content_translation.schema.yml @@ -1,5 +1,23 @@ # Schema for the Content Translation module. +# @todo Refactor settings in https://www.drupal.org/node/2363155 +content_translation.settings: + type: sequence + label: 'Entity type' + sequence: + - type: sequence + label: 'Bundle' + - type: mapping + label: 'Settings' + mapping: + content_translation: + type: mapping + label: 'Content translation' + mapping: + enabled: + type: boolean + label: 'Enabled' + field_config.third_party.content_translation: type: mapping label: 'Content translation field settings'