function MaintenanceModeInterface::getSiteMaintenanceMessage

Same name in other branches
  1. 9 core/lib/Drupal/Core/Site/MaintenanceModeInterface.php \Drupal\Core\Site\MaintenanceModeInterface::getSiteMaintenanceMessage()
  2. 11.x 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.

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.