Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
AccessPermissionTest::testAccessPerm function core/modules/user/tests/src/Kernel/Views/AccessPermissionTest.php Tests perm access plugin.
AccessPermissionTest::testRenderCaching function core/modules/user/tests/src/Kernel/Views/AccessPermissionTest.php Tests access on render caching.
AccessPluginBase class core/modules/views/src/Plugin/views/access/AccessPluginBase.php The base plugin to handle access control.
AccessPluginBase.php file core/modules/views/src/Plugin/views/access/AccessPluginBase.php
AccessPluginBase::access function core/modules/views/src/Plugin/views/access/AccessPluginBase.php Determine if the current user has access or not.
AccessPluginBase::alterRouteDefinition function core/modules/views/src/Plugin/views/access/AccessPluginBase.php Allows access plugins to alter the route definition of a view.
AccessPluginBase::summaryTitle function core/modules/views/src/Plugin/views/access/AccessPluginBase.php Returns the summary of the settings in the display.
AccessPolicyBase class core/lib/Drupal/Core/Session/AccessPolicyBase.php Base class for access policies.
AccessPolicyBase.php file core/lib/Drupal/Core/Session/AccessPolicyBase.php
AccessPolicyBase::alterPermissions function core/lib/Drupal/Core/Session/AccessPolicyBase.php Alter the permissions after all policies have finished building them.
AccessPolicyBase::applies function core/lib/Drupal/Core/Session/AccessPolicyBase.php Checks whether this access policy applies to a given scope.
AccessPolicyBase::calculatePermissions function core/lib/Drupal/Core/Session/AccessPolicyBase.php Calculates the permissions for an account within a given scope.
AccessPolicyBase::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyBase.php Gets the persistent cache contexts.
AccessPolicyInterface interface core/lib/Drupal/Core/Session/AccessPolicyInterface.php Defines the access policy interface.
AccessPolicyInterface.php file core/lib/Drupal/Core/Session/AccessPolicyInterface.php
AccessPolicyInterface::alterPermissions function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Alter the permissions after all policies have finished building them.
AccessPolicyInterface::applies function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Checks whether this access policy applies to a given scope.
AccessPolicyInterface::calculatePermissions function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Calculates the permissions for an account within a given scope.
AccessPolicyInterface::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyInterface.php Gets the persistent cache contexts.
AccessPolicyInterface::SCOPE_DRUPAL constant core/lib/Drupal/Core/Session/AccessPolicyInterface.php Scope ID for general Drupal access.
AccessPolicyProcessor class core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Processes access policies into permissions for an account.
AccessPolicyProcessor.php file core/lib/Drupal/Core/Session/AccessPolicyProcessor.php
AccessPolicyProcessor::$accessPolicies property core/lib/Drupal/Core/Session/AccessPolicyProcessor.php The access policies.
AccessPolicyProcessor::addAccessPolicy function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Adds an access policy.
AccessPolicyProcessor::getPersistentCacheContexts function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Gets the persistent cache contexts of all policies within a given scope.
AccessPolicyProcessor::processAccessPolicies function core/lib/Drupal/Core/Session/AccessPolicyProcessor.php Processes the access policies for an account within a given scope.
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.

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