MaintenanceModeSubscriber

Maintenance mode subscriber for controller requests.

Hierarchy

File

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

Namespace

Drupal\Core\EventSubscriber

Members

Name Modifiers Type Description
MaintenanceModeSubscriber::$account protected property The current account.
MaintenanceModeSubscriber::$bareHtmlPageRenderer protected property The bare HTML page renderer.
MaintenanceModeSubscriber::$config protected property The config factory.
MaintenanceModeSubscriber::$maintenanceMode protected property The maintenance mode.
MaintenanceModeSubscriber::$urlGenerator protected property The url generator.
MaintenanceModeSubscriber::drupalSetMessage protected function Wraps the drupal_set_message function.
MaintenanceModeSubscriber::getSiteMaintenanceMessage protected function Gets the site maintenance message.
MaintenanceModeSubscriber::getSubscribedEvents public static function Returns an array of event names this subscriber wants to listen to. Overrides EventSubscriberInterface::getSubscribedEvents
MaintenanceModeSubscriber::onKernelRequestMaintenance public function Returns the site maintenance page if the site is offline.
MaintenanceModeSubscriber::__construct public function Constructs a new MaintenanceModeSubscriber.
StringTranslationTrait::$stringTranslation protected property The string translation service.
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use.
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
doc_Drupal
2016-10-29 09:25:23
Comments
Leave a Comment

Please login to continue.