Skip to content
Snippets Groups Projects

Issue #3239759: Remind users to back up their database before starting an update

Merged Issue #3239759: Remind users to back up their database before starting an update
1 unresolved thread
1 unresolved thread
Files
2
+ 1
1
@@ -162,7 +162,7 @@ class UpdateReady extends FormBase {
];
$form['backup'] = [
'#prefix' => '<strong>',
'#markup' => $this->t('Back up your database and site before you continue. <a href=":backup_url">Learn how</a>.', [':backup_url' => 'https://www.drupal.org/node/22281']),
'#markup' => $this->t('This cannot be undone, so it is strongly recommended to <a href=":url">back up your database and site</a> before continuing, if you haven\'t already.', [':url' => 'https://www.drupal.org/node/22281']),
'#suffix' => '</strong>',
];
if (!$this->state->get('system.maintenance_mode')) {
Loading