public function MultiStepFormBase::submitGoBack in User Merge 2.x
Form submission for back button.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
File
- src/
Form/ MultiStepFormBase.php, line 112
Class
- MultiStepFormBase
- Class MultiStepFormBase.
Namespace
Drupal\usermerge\FormCode
public function submitGoBack(array &$form, FormStateInterface $form_state) {
$previous = $this->reviewSwitcher
->getPreviousProperty(static::class);
$form_state
->setRedirect('usermerge.multi_step_form', [
'property' => $previous,
]);
}