You are here

public function ClientsideValidationDemoForm::setMessage in Clientside Validation 8

Ajax submit callback.

File

clientside_validation_demo/src/Form/ClientsideValidationDemoForm.php, line 181

Class

ClientsideValidationDemoForm
Class ClientsideValidationDemoForm.

Namespace

Drupal\clientside_validation_demo\Form

Code

public function setMessage(array $form, FormStateInterface $form_state) {
  $response = new AjaxResponse();
  return $response;
}