public function CheckProviderInterface::setChecks in Drupal 8
Same name and namespace in other branches
- 9 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 24
Class
- CheckProviderInterface
- Provides the available access checkers by service IDs.
Namespace
Drupal\Core\AccessCode
public function setChecks(RouteCollection $routes);