function FormWizardInterface::finish

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

Form submit handler for finalizing the wizard values.

If you need to generate an entity or save config or raw table data subsequent to your form wizard, this is the responsible method.

Parameters

array $form: Drupal form array.

\Drupal\Core\Form\FormStateInterface $form_state: The final form state of the wizard.

1 method overrides FormWizardInterface::finish()
FormWizardBase::finish in src/Wizard/FormWizardBase.php
Form submit handler for finalizing the wizard values.

File

src/Wizard/FormWizardInterface.php, line 174

Class

FormWizardInterface
Form wizard interface.

Namespace

Drupal\ctools\Wizard

Code

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