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
1 file
+ 6
0
Compare changes
  • Side-by-side
  • Inline
+ 6
0
@@ -257,6 +257,12 @@ class UpdaterForm extends FormBase {
],
];
$form['backup'] = [
'#prefix' => '<strong>',
'#markup' => $this->t('It\'s a good idea to <a href=":url">back up your database</a> before you begin.', [':url' => 'https://www.drupal.org/node/22281#s-backing-up-the-database']),
'#suffix' => '</strong>',
];
if ($form_state->getUserInput()) {
$results = [];
}
Loading