function FormStatePersistTest::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/
modules/ system/ tests/ src/ Kernel/ Form/ FormStatePersistTest.php, line 87
Class
- FormStatePersistTest
- Tests that the form state persists across multiple requests.
Namespace
Drupal\Tests\system\Kernel\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) : void {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.