MaintenanceModeInterface::applies

public MaintenanceModeInterface::applies(RouteMatchInterface $route_match)

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.

File

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

Class

MaintenanceModeInterface
Defines the interface for the maintenance mode service.

Namespace

Drupal\Core\Site

Code

1
public function applies(RouteMatchInterface $route_match);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.