function AjaxTestFormPromise::submitForm

Same name and namespace in other branches
  1. 9 core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFormPromise.php \Drupal\ajax_test\Form\AjaxTestFormPromise::submitForm()
  2. 10 core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFormPromise.php \Drupal\ajax_test\Form\AjaxTestFormPromise::submitForm()

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.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.