function AccessPolicyProcessorInterface::addAccessPolicy

Same name in other branches
  1. 10 core/lib/Drupal/Core/Session/AccessPolicyProcessorInterface.php \Drupal\Core\Session\AccessPolicyProcessorInterface::addAccessPolicy()

Adds an access policy.

Parameters

\Drupal\Core\Session\AccessPolicyInterface $access_policy: The access policy.

1 method overrides AccessPolicyProcessorInterface::addAccessPolicy()
AccessPolicyProcessor::addAccessPolicy in core/lib/Drupal/Core/Session/AccessPolicyProcessor.php
Adds an access policy.

File

core/lib/Drupal/Core/Session/AccessPolicyProcessorInterface.php, line 16

Class

AccessPolicyProcessorInterface
Processes all added access policies until the full permissions are built.

Namespace

Drupal\Core\Session

Code

public function addAccessPolicy(AccessPolicyInterface $access_policy) : void;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.