You are here

public function FileTestForm::validateForm in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/file/tests/file_test/src/Form/FileTestForm.php \Drupal\file_test\Form\FileTestForm::validateForm()
  2. 10 core/modules/file/tests/file_test/src/Form/FileTestForm.php \Drupal\file_test\Form\FileTestForm::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/file/tests/file_test/src/Form/FileTestForm.php, line 78

Class

FileTestForm
File test form class.

Namespace

Drupal\file_test\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
}