public function AccessCheckInterface::applies in Zircon Profile 8.0
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
array An array of route requirement keys this access checker applies to.
1 method overrides AccessCheckInterface::applies()
- CSRFAccessCheck::applies in core/
modules/ rest/ src/ Access/ CSRFAccessCheck.php - Declares whether the access check applies to a specific route or not.
File
- core/
lib/ Drupal/ Core/ Access/ AccessCheckInterface.php, line 27 - Contains \Drupal\Core\Access\AccessCheckInterface.
Class
- AccessCheckInterface
- An access check service determines access rules for particular routes.
Namespace
Drupal\Core\AccessCode
public function applies(Route $route);