diff --git a/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php b/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php index db80944..cf5f113 100644 --- a/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php +++ b/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php @@ -66,7 +66,9 @@ public function onConfigSave(ConfigCrudEvent $event) { $name = $saved_config->getName(); $data = $saved_config->get(); $checksum = crc32(serialize($data)); - if (!isset($this->checked[$name . ':' . $checksum])) { + // Content translation settings cannot be provided schema yet, see + // https://www.drupal.org/node/2363155 + if ($name != 'content_translation.settings' && !isset($this->checked[$name . ':' . $checksum])) { $this->checked[$name . ':' . $checksum] = TRUE; $errors = $this->checkConfigSchema($this->typedManager, $name, $data); if ($errors === FALSE) { 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 ce44732..6e4167e 100644 --- a/core/modules/content_translation/config/schema/content_translation.schema.yml +++ b/core/modules/content_translation/config/schema/content_translation.schema.yml @@ -1,10 +1,5 @@ # Schema for the Content Translation module. -# Needs refactoring see https://www.drupal.org/node/2363155 -content_translation.settings: - type: ignore - label: 'Content translation settings' - field_config.third_party.content_translation: type: mapping label: 'Content translation field settings'