Commit aeec46f0 authored by Gorodkov Denis's avatar Gorodkov Denis

Form Ajax

parent 9e84e874
...@@ -127,7 +127,7 @@ class AjaxForm extends FormBase { ...@@ -127,7 +127,7 @@ class AjaxForm extends FormBase {
return $response; return $response;
} }
public function validateEmailCallbackAjax(array &$form, FormStateInterface $form_state, $filed_name) { public function validateEmailCallbackAjax(array &$form, FormStateInterface $form_state) {
$field_name = 'email'; $field_name = 'email';
$response = $this->getResponse($form, $form_state, $field_name); $response = $this->getResponse($form, $form_state, $field_name);
return $response; return $response;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment