protected function FormErrorHandler::drupalSetMessage

protected FormErrorHandler::drupalSetMessage($message = NULL, $type = 'status', $repeat = FALSE)

Wraps drupal_set_message().

@codeCoverageIgnore

File

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

Class

FormErrorHandler
Handles form errors.

Namespace

Drupal\Core\Form

Code

protected function drupalSetMessage($message = NULL, $type = 'status', $repeat = FALSE) {
  drupal_set_message($message, $type, $repeat);
}

© 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!FormErrorHandler.php/function/FormErrorHandler::drupalSetMessage/8.1.x