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

Breadcrumb

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

function AccessPolicyInterface::applies

Checks whether this access policy applies to a given scope.

Parameters

string $scope: The scope to check for.

Return value

bool Whether this access policy applies to the given scope.

1 method overrides AccessPolicyInterface::applies()
AccessPolicyBase::applies in core/lib/Drupal/Core/Session/AccessPolicyBase.php
Checks whether this access policy applies to a given scope.

File

core/lib/Drupal/Core/Session/AccessPolicyInterface.php, line 35

Class

AccessPolicyInterface
Defines the access policy interface.

Namespace

Drupal\Core\Session

Code

public function applies(string $scope) : bool;

API Navigation

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