From 58c892e49b72358a2eaf6830d7562fe7d55a48eb Mon Sep 17 00:00:00 2001
From: Theresa Grannum <theresa.grannum@acquia.com>
Date: Tue, 7 Jun 2022 13:51:49 -0400
Subject: [PATCH] added form element

---
 src/Form/UpdaterForm.php | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/Form/UpdaterForm.php b/src/Form/UpdaterForm.php
index 63e50ad978..9812d2a6c4 100644
--- a/src/Form/UpdaterForm.php
+++ b/src/Form/UpdaterForm.php
@@ -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 = [];
     }
-- 
GitLab