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
Namespace
Drupal\system_status\AccessCode
public function applies(Route $route) {
return '_access_system_status_page';
}