public function StubForm::submitForm in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/Form/StubForm.php \Drupal\Tests\system\Functional\Form\StubForm::submitForm()
- 9 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\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
}