Produces inline form errors.
Hierarchy
- class \Drupal\Core\Form\FormErrorHandler implements FormErrorHandlerInterface
- class \Drupal\inline_form_errors\FormErrorHandler uses LinkGeneratorTrait, StringTranslationTrait
File
- core/modules/inline_form_errors/src/FormErrorHandler.php, line 19
Namespace
Drupal\inline_form_errors
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FormErrorHandler::$renderer | protected | property | The renderer service. |
FormErrorHandler::displayErrorMessages | protected | function | Loops through and displays all form errors. Overrides FormErrorHandler::displayErrorMessages |
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. |
FormErrorHandler::__construct | public | function | Constructs a new FormErrorHandler. |
LinkGeneratorTrait::$linkGenerator | protected | property | The link generator. |
LinkGeneratorTrait::getLinkGenerator | protected | function | Returns the link generator. |
LinkGeneratorTrait::l Deprecated | protected | function | Renders a link to a route given a route name and its parameters. |
LinkGeneratorTrait::setLinkGenerator | public | function | Sets the link generator service. |
StringTranslationTrait::$stringTranslation | protected | property | The string translation service. |
StringTranslationTrait::formatPlural | protected | function | Formats a string containing a count of items. |
StringTranslationTrait::getNumberOfPlurals | protected | function | Returns the number of plurals supported by a given language. |
StringTranslationTrait::getStringTranslation | protected | function | Gets the string translation service. |
StringTranslationTrait::setStringTranslation | public | function | Sets the string translation service to use. |
StringTranslationTrait::t | protected | function | Translates a string to the current language or to a given language. |
Please login to continue.