Skip to content
Snippets Groups Projects

Issue #3311472 Set minimum stability for form

1 unresolved thread
Files
2
@@ -33,7 +33,7 @@ final class TargetVersionNotPreRelease {
public function validate(string $installed_version, ?string $target_version): array {
if (!in_array(VersionParser::parseStability($target_version), ['stable', 'RC'], TRUE)) {
return [
$this->t('Drupal cannot be automatically updated during cron to the recommended version, @target_version, because it is not a stable version.', [
$this->t('Drupal cannot be updated to the recommended version, @target_version, because it is not a stable version.', [
'@target_version' => $target_version,
]),
];
Loading