Search for all
Title | Object type | File name | Summary |
---|---|---|---|
AccessPermissionTest::testAccessPerm | function | core/ |
Tests perm access plugin. |
AccessPermissionTest::testRenderCaching | function | core/ |
Tests access on render caching. |
AccessPluginBase | class | core/ |
The base plugin to handle access control. |
AccessPluginBase.php | file | core/ |
|
AccessPluginBase::access | function | core/ |
Determine if the current user has access or not. |
AccessPluginBase::alterRouteDefinition | function | core/ |
Allows access plugins to alter the route definition of a view. |
AccessPluginBase::summaryTitle | function | core/ |
|
AccessPolicyBase | class | core/ |
Base class for access policies. |
AccessPolicyBase.php | file | core/ |
|
AccessPolicyBase::alterPermissions | function | core/ |
|
AccessPolicyBase::applies | function | core/ |
|
AccessPolicyBase::calculatePermissions | function | core/ |
|
AccessPolicyBase::getPersistentCacheContexts | function | core/ |
|
AccessPolicyInterface | interface | core/ |
Defines the access policy interface. |
AccessPolicyInterface.php | file | core/ |
|
AccessPolicyInterface::alterPermissions | function | core/ |
Alter the permissions after all policies have finished building them. |
AccessPolicyInterface::applies | function | core/ |
Checks whether this access policy applies to a given scope. |
AccessPolicyInterface::calculatePermissions | function | core/ |
Calculates the permissions for an account within a given scope. |
AccessPolicyInterface::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
AccessPolicyInterface::SCOPE_DRUPAL | constant | core/ |
Scope ID for general Drupal access. |
AccessPolicyProcessor | class | core/ |
Processes access policies into permissions for an account. |
AccessPolicyProcessor.php | file | core/ |
|
AccessPolicyProcessor::$accessPolicies | property | core/ |
The access policies. |
AccessPolicyProcessor::addAccessPolicy | function | core/ |
|
AccessPolicyProcessor::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts of all policies within a given scope. |
AccessPolicyProcessor::processAccessPolicies | function | core/ |
|
AccessPolicyProcessor::validateScope | function | core/ |
Validates if calculated permissions all match a single scope. |
AccessPolicyProcessor::__construct | function | core/ |
|
AccessPolicyProcessorInterface | interface | core/ |
Processes all added access policies until the full permissions are built. |
AccessPolicyProcessorInterface.php | file | core/ |
|
AccessPolicyProcessorInterface::addAccessPolicy | function | core/ |
Adds an access policy. |
AccessPolicyProcessorInterface::processAccessPolicies | function | core/ |
Processes the access policies for an account within a given scope. |
AccessPolicyProcessorTest | class | core/ |
Tests the AccessPolicyProcessor service. |
AccessPolicyProcessorTest.php | file | core/ |
|
AccessPolicyProcessorTest::accountSwitcherProvider | function | core/ |
Data provider for testAccountSwitcher(). |
AccessPolicyProcessorTest::cachingProvider | function | core/ |
Data provider for testCaching(). |
AccessPolicyProcessorTest::setUp | function | core/ |
|
AccessPolicyProcessorTest::setUpAccessPolicyProcessor | function | core/ |
Sets up the access policy processor. |
AccessPolicyProcessorTest::testAccountSwitcher | function | core/ |
Tests if the account switcher switches properly when user cache context is present. |
AccessPolicyProcessorTest::testAlterPermissions | function | core/ |
Tests that access policies can alter the final result. |
AccessPolicyProcessorTest::testAlterPermissionsNoApply | function | core/ |
Tests that alters that do not apply are not processed. |
AccessPolicyProcessorTest::testCacheContextCaching | function | core/ |
Tests that the persistent cache contexts are added properly. |
AccessPolicyProcessorTest::testCacheContexts | function | core/ |
Tests that only the cache contexts for policies that apply are added. |
AccessPolicyProcessorTest::testCaching | function | core/ |
Tests if the caches are called correctly. |
AccessPolicyProcessorTest::testCalculatePermissions | function | core/ |
Tests that access policies are properly processed. |
AccessPolicyProcessorTest::testCalculatePermissionsNoApply | function | core/ |
Tests that access policies that do not apply are not processed. |
AccessPolicyProcessorTest::testEmptyCalculator | function | core/ |
Tests that access policies which do nothing are properly processed. |
AccessPolicyProcessorTest::testMultipleScopeAlterException | function | core/ |
Tests the multiple scopes exception. |
AccessPolicyProcessorTest::testMultipleScopeException | function | core/ |
Tests the multiple scopes exception. |
AccessPolicyProcessorTest::testNoCalculators | function | core/ |
Tests that everything works if no access policies are present. |
Pagination
- Previous page
- Page 5
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.