function FormWizardBase::finish

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

Overrides FormWizardInterface::finish

3 calls to FormWizardBase::finish()
EntityFormWizardBase::finish in src/Wizard/EntityFormWizardBase.php
Form submit handler for finalizing the wizard values.
EntityWizard::finish in tests/modules/ctools_wizard_test/src/Wizard/EntityWizard.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.
3 methods override FormWizardBase::finish()
EntityFormWizardBase::finish in src/Wizard/EntityFormWizardBase.php
Form submit handler for finalizing the wizard values.
EntityWizard::finish in tests/modules/ctools_wizard_test/src/Wizard/EntityWizard.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 347

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