Search for %s
| Title | Object type | File name | Summary |
|---|---|---|---|
| AccessPolicyBase.php | file | core/ |
|
| AccessPolicyBase::alterPermissions | function | core/ |
Alter the permissions after all policies have finished building them. |
| AccessPolicyBase::applies | function | core/ |
Checks whether this access policy applies to a given scope. |
| AccessPolicyBase::calculatePermissions | function | core/ |
Calculates the permissions for an account within a given scope. |
| AccessPolicyBase::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
| 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/ |
Adds an access policy. |
| AccessPolicyProcessor::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts of all policies within a given scope. |
| AccessPolicyProcessor::needsPersistentCache | function | core/ |
Returns whether the persistent cache is necessary. |
| AccessPolicyProcessor::processAccessPolicies | function | core/ |
Processes the access policies for an account within a given scope. |
| 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. |
| AccessPolicyProcessorTest::testWrongScopeException | function | core/ |
Tests the wrong scope exception. |
| AccessPolicyScopeException | class | core/ |
An exception thrown when permissions are returned for the wrong scope. |
| AccessPolicyScopeException.php | file | core/ |
|
| AccessResult | class | core/ |
Value object for passing an access result with cacheability metadata. |
| AccessResult.php | file | core/ |
|
| AccessResult::allowed | function | core/ |
Creates an AccessResultInterface object with isAllowed() === TRUE. |
| AccessResult::allowedIf | function | core/ |
Creates an allowed or neutral access result. |
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.