function SubmitDriven::submitForm
Form submission handler.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
Overrides FormInterface::submitForm
File
-
modules/
ajax_example/ src/ Form/ SubmitDriven.php, line 52
Class
- SubmitDriven
- Submit a form without a page reload.
Namespace
Drupal\ajax_example\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
}