Issue #3379899 by Wim Leers, phenaproxima, jibran, borisson_: Follow-up for...
Issue #3379899 by Wim Leers, phenaproxima, jibran, borisson_: Follow-up for #3361534: config validation errors in contrib modules should cause deprecation notices, not test failures
@trigger_error(sprintf("The '%s' configuration contains validation errors. Invalid config is deprecated in drupal:10.2.0 and will be required to be valid in drupal:11.0.0. The following validation errors were found:\n\t\t- %s",
$config_name,
implode("\n\t\t- ",$validation_errors)
),E_USER_DEPRECATED);
}
else{
$errors=array_merge($errors,$validation_errors);
}
if(empty($errors)){
returnTRUE;
}
return$errors;
}
/**
* Whether the current test is for a contrib module.