You are here

public function FormWizardBase::ajaxFinish in Chaos Tool Suite (ctools) 8.3

Overrides FormWizardInterface::ajaxFinish

File

src/Wizard/FormWizardBase.php, line 460

Class

FormWizardBase
The base class for all form wizard.

Namespace

Drupal\ctools\Wizard

Code

public function ajaxFinish(array $form, FormStateInterface $form_state) {
  $response = new AjaxResponse();
  $response
    ->addCommand(new CloseModalDialogCommand());
  return $response;
}