Search for on
Title | Object type | File name | Summary |
---|---|---|---|
AccessPolicyProcessor::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts of all policies within a given scope. |
AccessPolicyProcessor::__construct | function | core/ |
|
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::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::testMultipleScopeAlterException | function | core/ |
Tests the multiple scopes exception. |
AccessPolicyProcessorTest::testMultipleScopeException | function | core/ |
Tests the multiple scopes exception. |
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::allowedIfHasPermission | function | core/ |
Creates an access result if the permission is present, neutral otherwise. |
AccessResult::allowedIfHasPermissions | function | core/ |
Creates an access result if the permissions are present, neutral otherwise. |
AccessResult::cachePerPermissions | function | core/ |
Convenience method, adds the "user.permissions" cache context. |
AccessResult::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
AccessResult::resetCacheContexts | function | core/ |
Resets cache contexts (to the empty array). |
AccessResultForbidden::$reason | property | core/ |
The reason why access is forbidden. For use in error messages. |
AccessResultForbidden::getReason | function | core/ |
Gets the reason for this access result. |
AccessResultForbidden::setReason | function | core/ |
Sets the reason for this access result. |
AccessResultForbidden::__construct | function | core/ |
Constructs a new AccessResultForbidden instance. |
AccessResultForbiddenTest::testConstruction | function | core/ |
Tests the construction of an AccessResultForbidden object. |
AccessResultForbiddenTest::testSetReason | function | core/ |
Tests setReason() |
AccessResultNeutral::$reason | property | core/ |
The reason why access is neutral. For use in messages. |
AccessResultNeutral::getReason | function | core/ |
Gets the reason for this access result. |
AccessResultNeutral::setReason | function | core/ |
Sets the reason for this access result. |
AccessResultNeutral::__construct | function | core/ |
Constructs a new AccessResultNeutral instance. |
AccessResultNeutralTest::testConstruction | function | core/ |
Tests the construction of an AccessResultForbidden object. |
AccessResultNeutralTest::testSetReason | function | core/ |
Tests setReason() |
AccessResultReasonInterface | interface | core/ |
Interface for access result value objects with stored reason for developers. |
AccessResultReasonInterface.php | file | core/ |
|
AccessResultReasonInterface::getReason | function | core/ |
Gets the reason for this access result. |
AccessResultReasonInterface::setReason | function | core/ |
Sets the reason for this access result. |
AccessResultTest::$cacheContextsManager | property | core/ |
The cache contexts manager. |
AccessResultTest::andOrCacheabilityPropagationProvider | function | core/ |
Provides a list of access result pairs and operations to test. |
AccessResultTest::providerTestAllowedIfHasPermissions | function | core/ |
Provides data for the testAllowedIfHasPermissions() method. |
AccessResultTest::testAccessConditionallyAllowed | function | core/ |
@covers ::allowedIf[[api-linebreak]] @covers ::isAllowed[[api-linebreak]] @covers ::isForbidden[[api-linebreak]] @covers ::isNeutral[[api-linebreak]] |
AccessResultTest::testAccessConditionallyForbidden | function | core/ |
@covers ::forbiddenIf[[api-linebreak]] @covers ::isAllowed[[api-linebreak]] @covers ::isForbidden[[api-linebreak]] @covers ::isNeutral[[api-linebreak]] |
AccessResultTest::testAccessForbiddenReason | function | core/ |
@covers ::forbidden[[api-linebreak]] |
AccessResultTest::testAllowedIfHasPermissions | function | core/ |
Tests allowedIfHasPermissions(). |
AccessResultTest::testAndOrCacheabilityPropagation | function | core/ |
@covers ::andIf[[api-linebreak]] @covers ::orIf[[api-linebreak]] @covers ::inheritCacheability[[api-linebreak]] |
AccessResultTest::testCacheContexts | function | core/ |
@covers ::addCacheContexts[[api-linebreak]] @covers ::resetCacheContexts[[api-linebreak]] @covers ::getCacheContexts[[api-linebreak]] @covers ::cachePerPermissions[[api-linebreak]] @covers ::cachePerUser[[api-linebreak]] @covers… |
AccessResultTest::testConstruction | function | core/ |
Tests the construction of an AccessResult object. |
AccessTest::testAccessNone | function | core/ |
Tests none access plugin. |
AccessTest::testContentAccessFilter | function | core/ |
Tests that node_access table is joined when hook_node_grants() is implemented. |
access_check.contact_personal | service | core/ |
Drupal\contact\Access\ContactPageAccess |
access_check.cron | service | core/ |
Drupal\system\Access\CronAccessCheck |
access_check.jsonapi.relationship_route_access | service | core/ |
Drupal\jsonapi\Access\RelationshipRouteAccessCheck |
access_check.latest_revision | service | core/ |
Drupal\content_moderation\Access\LatestRevisionCheck |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.