You are here

public function AjaxTestFormPromise::submitForm in Drupal 10

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/ajax_test/src/Form/AjaxTestFormPromise.php, line 69

Class

AjaxTestFormPromise
Test form for ajax_test_form_promise.

Namespace

Drupal\ajax_test\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {

  // An empty implementation, as we never submit the actual form.
}