public function AccessCheckInterface::applies in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Access/AccessCheckInterface.php \Drupal\Core\Access\AccessCheckInterface::applies()
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.
1 method overrides AccessCheckInterface::applies()
- CsrfRequestHeaderAccessCheck::applies in core/
lib/ Drupal/ Core/ Access/ CsrfRequestHeaderAccessCheck.php - Declares whether the access check applies to a specific route or not.
File
- core/
lib/ Drupal/ Core/ Access/ AccessCheckInterface.php, line 22
Class
- AccessCheckInterface
- An access check service determines access rules for particular routes.
Namespace
Drupal\Core\AccessCode
public function applies(Route $route);