You are here

public function FormWizardInterface::previous in Chaos Tool Suite (ctools) 8.3

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);