Issue #3277817 by Theresa.Grannum, mherman-pro: Before applying the update,...
Issue #3277817 by Theresa.Grannum, mherman-pro: Before applying the update, don't show the checkbox for maintenance mode if the site is already in maintenance mode
@@ -165,11 +165,14 @@ class UpdateReady extends FormBase {
'#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']),
'#suffix'=>'</strong>',
];
$form['maintenance_mode']=[
'#title'=>$this->t('Perform updates with site in maintenance mode (strongly recommended)'),
@@ -413,7 +413,12 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$possible_update_message='Possible database updates were detected in the following modules; you may be redirected to the database update page in order to complete the update process.';