function HtmxTestAjaxForm::submitForm
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/test_htmx/src/Form/HtmxTestAjaxForm.php \Drupal\test_htmx\Form\HtmxTestAjaxForm::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
-
core/
modules/ system/ tests/ modules/ test_htmx/ src/ Form/ HtmxTestAjaxForm.php, line 49
Class
- HtmxTestAjaxForm
- A small form used to insert an HTMX powered element using ajax API.
Namespace
Drupal\test_htmx\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) : void {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.