public function TestForm::validateForm in Drupal 9
Same name in this branch
- 9 core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestForm::validateForm()
- 9 core/modules/block/tests/modules/block_test/src/Form/TestForm.php \Drupal\block_test\Form\TestForm::validateForm()
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php \Drupal\Tests\Core\Form\TestForm::validateForm()
Form validation 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::validateForm
File
- core/
tests/ Drupal/ Tests/ Core/ Form/ FormBuilderTest.php, line 944 - Contains \Drupal\Tests\Core\Form\FormBuilderTest.
Class
Namespace
Drupal\Tests\Core\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
}