You are here

public function QuickForm::validateForm in farmOS 2.x

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 FormBase::validateForm

File

modules/core/quick/src/Form/QuickForm.php, line 116

Class

QuickForm
Form that renders quick forms.

Namespace

Drupal\farm_quick\Form

Code

public function validateForm(array &$form, FormStateInterface $form_state) {
  $this->quickFormManager
    ->createInstance($this->quickFormId)
    ->validateForm($form, $form_state);
}