MaintenanceModeSubscriber::drupalSetMessage

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

Wraps the drupal_set_message function.

File

core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 146

Class

MaintenanceModeSubscriber
Maintenance mode subscriber for controller requests.

Namespace

Drupal\Core\EventSubscriber

Code

protected function drupalSetMessage($message = NULL, $type = 'status', $repeat = FALSE) {
  return drupal_set_message($message, $type, $repeat);
}
doc_Drupal
2016-10-29 09:25:24
Comments
Leave a Comment

Please login to continue.