function MaintenanceModeInterface::getSiteMaintenanceMessage

Same name in other branches
  1. 9 core/lib/Drupal/Core/Site/MaintenanceModeInterface.php \Drupal\Core\Site\MaintenanceModeInterface::getSiteMaintenanceMessage()
  2. 10 core/lib/Drupal/Core/Site/MaintenanceModeInterface.php \Drupal\Core\Site\MaintenanceModeInterface::getSiteMaintenanceMessage()

Gets the site maintenance message.

Return value

\Drupal\Component\Render\MarkupInterface The formatted site maintenance message.

1 method overrides MaintenanceModeInterface::getSiteMaintenanceMessage()
MaintenanceMode::getSiteMaintenanceMessage in core/lib/Drupal/Core/Site/MaintenanceMode.php
Gets the site maintenance message.

File

core/lib/Drupal/Core/Site/MaintenanceModeInterface.php, line 41

Class

MaintenanceModeInterface
Defines the interface for the maintenance mode service.

Namespace

Drupal\Core\Site

Code

public function getSiteMaintenanceMessage();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.