You are here

public function SystemStatusAccessCheck::applies in System Status 8

Declares whether the access check applies to a specific route or not.

Parameters

\Symfony\Component\Routing\Route $route: The route to consider attaching to.

Return value

bool TRUE if this access checker applies to this route.

Overrides AccessCheckInterface::applies

File

src/Access/SystemStatusAccessCheck.php, line 15

Class

SystemStatusAccessCheck

Namespace

Drupal\system_status\Access

Code

public function applies(Route $route) {
  return '_access_system_status_page';
}