FormErrorHandler

Handles form errors.

Hierarchy

File

core/lib/Drupal/Core/Form/FormErrorHandler.php, line 10

Namespace

Drupal\Core\Form

Members

Name Modifiers Type Description
FormErrorHandler::displayErrorMessages protected function Loops through and displays all form errors.
FormErrorHandler::drupalSetMessage protected function Wraps drupal_set_message().
FormErrorHandler::handleFormErrors public function Handles form errors after form validation. Overrides FormErrorHandlerInterface::handleFormErrors
FormErrorHandler::setElementErrorsFromFormState protected function Stores the errors of each element directly on the element.
doc_Drupal
2016-10-29 09:15:40
Comments
Leave a Comment

Please login to continue.