diff --git a/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php b/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php index f09dd77..f9c8470 100644 --- a/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php +++ b/core/lib/Drupal/Core/Config/Schema/SchemaCheckTrait.php @@ -54,8 +54,9 @@ public function checkConfigSchema(TypedConfigManagerInterface $typed_config, $co } $definition = $typed_config->getDefinition($config_name); $this->schema = $typed_config->create($definition, $config_data); + $errors = array(); foreach ($config_data as $key => $value) { - $errors = $this->checkValue($key, $value); + $errors = array_merge($errors, $this->checkValue($key, $value)); } if (empty($errors)) { return TRUE;