FormInterface::validateForm

public function FormInterface::validateForm

public FormInterface::validateForm(array &$form, FormStateInterface $form_state)

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.

File

core/lib/Drupal/Core/Form/FormInterface.php, line 41登录查看完整内容