protected MaintenanceModeSubscriber::getSiteMaintenanceMessage()
Gets the site maintenance message.
Return value
\Drupal\Component\Render\MarkupInterface The formatted site maintenance message.
File
- core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php, line 137
Class
- MaintenanceModeSubscriber
- Maintenance mode subscriber for controller requests.
Namespace
Drupal\Core\EventSubscriber
Code
protected function getSiteMaintenanceMessage() { return SafeMarkup::format($this->config->get('system.maintenance')->get('message'), array( '@site' => $this->config->get('system.site')->get('name'), )); }
Please login to continue.