public function AjaxTestFocusFirstForm::validateForm in Drupal 10
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/ajax_test/src/Form/AjaxTestFocusFirstForm.php \Drupal\ajax_test\Form\AjaxTestFocusFirstForm::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/ modules/ ajax_test/ src/ Form/ AjaxTestFocusFirstForm.php, line 217
Class
- AjaxTestFocusFirstForm
- Form for testing AJAX FocusFirstCommand.
Namespace
Drupal\ajax_test\FormCode
public function validateForm(array &$form, FormStateInterface $form_state) {
}