function FormWizardInterface::previous

Same name in other branches
  1. 4.0.x src/Wizard/FormWizardInterface.php \Drupal\ctools\Wizard\FormWizardInterface::previous()

Form submit handler to step backwards in the wizard.

"Next" steps are handled by \Drupal\Core\Form\FormInterface::submitForm().

Parameters

array $form: Drupal form array.

\Drupal\Core\Form\FormStateInterface $form_state: The current form state of the wizard. This will not contain values from the current step since the previous button does not actually submit those values.

1 method overrides FormWizardInterface::previous()
FormWizardBase::previous in src/Wizard/FormWizardBase.php
Form submit handler to step backwards in the wizard.

File

src/Wizard/FormWizardInterface.php, line 161

Class

FormWizardInterface
Form wizard interface.

Namespace

Drupal\ctools\Wizard

Code

public function previous(array &$form, FormStateInterface $form_state);