Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. AccessCheckInterface.php

function AccessCheckInterface::applies

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

bool TRUE if this access checker applies to this route.

1 method overrides AccessCheckInterface::applies()
CsrfRequestHeaderAccessCheck::applies in core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php
Declares whether the access check applies to a specific route or not.

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);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal