/**
* {@inheritdoc}
*/
public function buildForm(array
$form, FormStateInterface
$form_state) { // Get the current major version.
[$this->destinationSiteVersion
] =
explode('.', \Drupal::VERSION, 2
);
$form =
[];
$form['actions'
]['#type'
] = 'actions';
$form['actions'
]['submit'
] =
[ '#type' => 'submit',
'#value' =>
$this->
getConfirmText(),
'#button_type' => 'primary',
'#weight' => 10,
];
return $form;
} /**
* Helper to redirect to the Overview form.
*
* @return \Symfony\Component\HttpFoundation\RedirectResponse
* A redirect response object that may be returned by the controller.
*
* @throws \Drupal\Core\TempStore\TempStoreException
* Thrown when a lock for the backend storage could not be acquired.
*/