protected function FormErrorHandler::drupalSetMessage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Form/FormErrorHandler.php \Drupal\Core\Form\FormErrorHandler::drupalSetMessage()
Wraps drupal_set_message().
@codeCoverageIgnore
2 calls to FormErrorHandler::drupalSetMessage()
- FormErrorHandler::displayErrorMessages in core/
lib/ Drupal/ Core/ Form/ FormErrorHandler.php - Loops through and displays all form errors.
- FormErrorHandler::displayErrorMessages in core/
modules/ inline_form_errors/ src/ FormErrorHandler.php - Loops through and displays all form errors.
File
- core/
lib/ Drupal/ Core/ Form/ FormErrorHandler.php, line 78 - Contains \Drupal\Core\Form\FormErrorHandler.
Class
- FormErrorHandler
- Handles form errors.
Namespace
Drupal\Core\FormCode
protected function drupalSetMessage($message = NULL, $type = 'status', $repeat = FALSE) {
drupal_set_message($message, $type, $repeat);
}