3 namespace Drupal\Core\Access;
5 use Symfony\Component\Routing\Route;
6 use Drupal\Core\Routing\Access\AccessInterface as RoutingAccessInterface;
9 * An access check service determines access rules for particular routes.
11 interface AccessCheckInterface extends RoutingAccessInterface {
14 * Declares whether the access check applies to a specific route or not.
16 * @param \Symfony\Component\Routing\Route $route
17 * The route to consider attaching to.
20 * An array of route requirement keys this access checker applies to.
22 public function applies(Route $route);