AccessCheckInterface::applies

public AccessCheckInterface::applies(Route $route)

Declares whether the access check applies to a specific route or not.

Parameters

\Symfony\Component\Routing\Route $route: The route to consider attaching to.

Return value

array An array of route requirement keys this access checker applies to.

File

core/lib/Drupal/Core/Access/AccessCheckInterface.php, line 22

Class

AccessCheckInterface
An access check service determines access rules for particular routes.

Namespace

Drupal\Core\Access

Code

public function applies(Route $route);
doc_Drupal
2016-10-29 08:42:22
Comments
Leave a Comment

Please login to continue.