function CheckProviderInterface::setChecks
Same name in other branches
- 9 core/lib/Drupal/Core/Access/CheckProviderInterface.php \Drupal\Core\Access\CheckProviderInterface::setChecks()
- 10 core/lib/Drupal/Core/Access/CheckProviderInterface.php \Drupal\Core\Access\CheckProviderInterface::setChecks()
- 11.x 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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.