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

1
public function applies(Route $route);
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.