You are here

public function CheckProviderInterface::setChecks in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Access/CheckProviderInterface.php \Drupal\Core\Access\CheckProviderInterface::setChecks()

For each route, saves a list of applicable access checks to the route.

Parameters

\Symfony\Component\Routing\RouteCollection $routes: A collection of routes to apply checks to.

1 method overrides CheckProviderInterface::setChecks()
CheckProvider::setChecks in core/lib/Drupal/Core/Access/CheckProvider.php
For each route, saves a list of applicable access checks to the route.

File

core/lib/Drupal/Core/Access/CheckProviderInterface.php, line 30
Contains \Drupal\Core\Access\CheckProviderInterface.

Class

CheckProviderInterface
Provides the available access checkers by service IDs.

Namespace

Drupal\Core\Access

Code

public function setChecks(RouteCollection $routes);