protected FormValidator::finalizeValidation(&$form, FormStateInterface &$form_state, $form_id)
Finalizes validation.
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
string $form_id: The unique string identifying the form.
protected function finalizeValidation(&$form, FormStateInterface &$form_state, $form_id) { // Delegate handling of form errors to a service. $this->formErrorHandler->handleFormErrors($form, $form_state); // Mark this form as validated. $form_state->setValidationComplete(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormValidator.php/function/FormValidator::finalizeValidation/8.1.x