public function MaintenanceModeInterface::applies in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Site/MaintenanceModeInterface.php \Drupal\Core\Site\MaintenanceModeInterface::applies()
Returns whether the site is in maintenance mode.
Parameters
\Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match.
Return value
bool TRUE if the site is in maintenance mode.
1 method overrides MaintenanceModeInterface::applies()
- MaintenanceMode::applies in core/
lib/ Drupal/ Core/ Site/ MaintenanceMode.php - Returns whether the site is in maintenance mode.
File
- core/
lib/ Drupal/ Core/ Site/ MaintenanceModeInterface.php, line 27 - Contains \Drupal\Core\Site\MaintenanceModeInterface.
Class
- MaintenanceModeInterface
- Defines the interface for the maintenance mode service.
Namespace
Drupal\Core\SiteCode
public function applies(RouteMatchInterface $route_match);