protected function MaintenanceModeSubscriber::drupalSetMessage in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber::drupalSetMessage()
Wraps the drupal_set_message function.
1 call to MaintenanceModeSubscriber::drupalSetMessage()
- MaintenanceModeSubscriber::onKernelRequestMaintenance in core/
lib/ Drupal/ Core/ EventSubscriber/ MaintenanceModeSubscriber.php - Returns the site maintenance page if the site is offline.
File
- core/
lib/ Drupal/ Core/ EventSubscriber/ MaintenanceModeSubscriber.php, line 132 - Contains \Drupal\Core\EventSubscriber\MaintenanceModeSubscriber.
Class
- MaintenanceModeSubscriber
- Maintenance mode subscriber for controller requests.
Namespace
Drupal\Core\EventSubscriberCode
protected function drupalSetMessage($message = NULL, $type = 'status', $repeat = FALSE) {
return drupal_set_message($message, $type, $repeat);
}