W3cubDocs

/Drupal 8

public function CheckProviderInterface::setChecks

public CheckProviderInterface::setChecks(RouteCollection $routes)

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.

File

core/lib/Drupal/Core/Access/CheckProviderInterface.php, line 25

Class

CheckProviderInterface
Provides the available access checkers by service IDs.

Namespace

Drupal\Core\Access

Code

public function setChecks(RouteCollection $routes);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Access!CheckProviderInterface.php/function/CheckProviderInterface::setChecks/8.1.x