function FormWizardBase::finish

Same name in other branches
  1. 8.x-3.x src/Wizard/FormWizardBase.php \Drupal\ctools\Wizard\FormWizardBase::finish()

Overrides FormWizardInterface::finish

2 calls to FormWizardBase::finish()
EntityFormWizardBase::finish in src/Wizard/EntityFormWizardBase.php
Form submit handler for finalizing the wizard values.
WizardTest::finish in tests/modules/ctools_wizard_test/src/Wizard/WizardTest.php
Form submit handler for finalizing the wizard values.
2 methods override FormWizardBase::finish()
EntityFormWizardBase::finish in src/Wizard/EntityFormWizardBase.php
Form submit handler for finalizing the wizard values.
WizardTest::finish in tests/modules/ctools_wizard_test/src/Wizard/WizardTest.php
Form submit handler for finalizing the wizard values.

File

src/Wizard/FormWizardBase.php, line 331

Class

FormWizardBase
The base class for all form wizard.

Namespace

Drupal\ctools\Wizard

Code

public function finish(array &$form, FormStateInterface $form_state) {
    $this->getTempstore()
        ->delete($this->getMachineName());
}