MaintenanceModeEvents.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Site/MaintenanceModeEvents.php
  2. 11.x core/lib/Drupal/Core/Site/MaintenanceModeEvents.php

Namespace

Drupal\Core\Site

File

core/lib/Drupal/Core/Site/MaintenanceModeEvents.php

View source
<?php

namespace Drupal\Core\Site;


/**
 * Defines events for maintenance mode.
 */
final class MaintenanceModeEvents {
    
    /**
     * The name of the event fired when request is made in maintenance more.
     */
    const MAINTENANCE_MODE_REQUEST = 'site.maintenance_mode_request';

}

Classes

Title Deprecated Summary
MaintenanceModeEvents Defines events for maintenance mode.

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