public function AjaxTestFocusFirstForm::validateForm in Drupal 9
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) {
}