Search for A

  1. Search 7.x for A
  2. Search 9.5.x for A
  3. Search 8.9.x for A
  4. Search 10.3.x for A
  5. Other projects
Title Object type File name Summary
AccessPolicyProcessor::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Gets the persistent cache contexts of all policies within a given scope.
AccessPolicyProcessor::needsPersistentCache function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Returns whether the persistent cache is necessary.
AccessPolicyProcessor::processAccessPolicies function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php
AccessPolicyProcessor::validateScope function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Validates if calculated permissions all match a single scope.
AccessPolicyProcessor::__construct function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php
AccessPolicyProcessorInterface interface core/lib/Drupal/Core/Session/AccessPolicyProcessorInterface.php Processes all added access policies until the full permissions are built.
AccessPolicyProcessorInterface.php file core/lib/Drupal/Core/Session/AccessPolicyProcessorInterface.php
AccessPolicyProcessorInterface::addAccessPolicy function core/lib/Drupal/Core/Session/AccessPolicyProcessorInterface.php Adds an access policy.
AccessPolicyProcessorInterface::processAccessPolicies function core/lib/Drupal/Core/Session/AccessPolicyProcessorInterface.php Processes the access policies for an account within a given scope.
AccessPolicyProcessorTest class core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the AccessPolicyProcessor service.
AccessPolicyProcessorTest.php file core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
AccessPolicyProcessorTest::accountSwitcherProvider function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Data provider for testAccountSwitcher().
AccessPolicyProcessorTest::cachingProvider function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Data provider for testCaching().
AccessPolicyProcessorTest::setUp function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
AccessPolicyProcessorTest::setUpAccessPolicyProcessor function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Sets up the access policy processor.
AccessPolicyProcessorTest::testAccountSwitcher function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests if the account switcher switches properly when user cache context is present.
AccessPolicyProcessorTest::testAlterPermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that access policies can alter the final result.
AccessPolicyProcessorTest::testAlterPermissionsNoApply function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that alters that do not apply are not processed.
AccessPolicyProcessorTest::testCacheContextCaching function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that the persistent cache contexts are added properly.
AccessPolicyProcessorTest::testCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that only the cache contexts for policies that apply are added.
AccessPolicyProcessorTest::testCaching function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests if the caches are called correctly.
AccessPolicyProcessorTest::testCalculatePermissions function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that access policies are properly processed.
AccessPolicyProcessorTest::testCalculatePermissionsNoApply function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that access policies that do not apply are not processed.
AccessPolicyProcessorTest::testEmptyCalculator function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that access policies which do nothing are properly processed.
AccessPolicyProcessorTest::testMultipleScopeAlterException function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the multiple scopes exception.
AccessPolicyProcessorTest::testMultipleScopeException function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the multiple scopes exception.
AccessPolicyProcessorTest::testNoCalculators function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests that everything works if no access policies are present.
AccessPolicyProcessorTest::testWrongScopeException function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Tests the wrong scope exception.
AccessPolicyScopeException class core/lib/Drupal/Core/Session/AccessPolicyScopeException.php An exception thrown when permissions are returned for the wrong scope.
AccessPolicyScopeException.php file core/lib/Drupal/Core/Session/AccessPolicyScopeException.php
AccessResult class core/lib/Drupal/Core/Access/AccessResult.php Value object for passing an access result with cacheability metadata.
AccessResult.php file core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::allowed function core/lib/Drupal/Core/Access/AccessResult.php Creates an AccessResultInterface object with isAllowed() === TRUE.
AccessResult::allowedIf function core/lib/Drupal/Core/Access/AccessResult.php Creates an allowed or neutral access result.
AccessResult::allowedIfHasPermission function core/lib/Drupal/Core/Access/AccessResult.php Creates an access result if the permission is present, neutral otherwise.
AccessResult::allowedIfHasPermissions function core/lib/Drupal/Core/Access/AccessResult.php Creates an access result if the permissions are present, neutral otherwise.
AccessResult::andIf function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::cachePerPermissions function core/lib/Drupal/Core/Access/AccessResult.php Convenience method, adds the "user.permissions" cache context.
AccessResult::cachePerUser function core/lib/Drupal/Core/Access/AccessResult.php Convenience method, adds the "user" cache context.
AccessResult::forbidden function core/lib/Drupal/Core/Access/AccessResult.php Creates an AccessResultInterface object with isForbidden() === TRUE.
AccessResult::forbiddenIf function core/lib/Drupal/Core/Access/AccessResult.php Creates a forbidden or neutral access result.
AccessResult::getCacheContexts function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::getCacheMaxAge function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::getCacheTags function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::inheritCacheability function core/lib/Drupal/Core/Access/AccessResult.php Inherits the cacheability of the other access result, if any.
AccessResult::isAllowed function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::isForbidden function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::isNeutral function core/lib/Drupal/Core/Access/AccessResult.php
AccessResult::neutral function core/lib/Drupal/Core/Access/AccessResult.php Creates an AccessResultInterface object with isNeutral() === TRUE.
AccessResult::orIf function core/lib/Drupal/Core/Access/AccessResult.php

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