public function FormWizardBase::ajaxSubmit in Chaos Tool Suite (ctools) 8.3
Overrides FormWizardInterface::ajaxSubmit
File
- src/
Wizard/ FormWizardBase.php, line 442
Class
- FormWizardBase
- The base class for all form wizard.
Namespace
Drupal\ctools\WizardCode
public function ajaxSubmit(array $form, FormStateInterface $form_state) {
$cached_values = $form_state
->getTemporaryValue('wizard');
$response = new AjaxResponse();
$parameters = $this
->getNextParameters($cached_values);
$response
->addCommand(new OpenModalWizardCommand($this, $this
->getTempstoreId(), $parameters));
return $response;
}