You are here

public function StubForm::submitForm in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::submitForm()
  2. 10 core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::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/src/Functional/Form/StubForm.php, line 59

Class

StubForm
Provides a stub form for testing purposes.

Namespace

Drupal\Tests\system\Functional\Form

Code

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