Search for all
Title | Object type | File name | Summary |
---|---|---|---|
AccessResult::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
AccessResult::getCacheMaxAge | function | core/ |
The maximum age for which this object may be cached. |
AccessResult::getCacheTags | function | core/ |
The cache tags associated with this object. |
AccessResult::inheritCacheability | function | core/ |
Inherits the cacheability of the other access result, if any. |
AccessResult::isAllowed | function | core/ |
|
AccessResult::isForbidden | function | core/ |
|
AccessResult::isNeutral | function | core/ |
|
AccessResult::neutral | function | core/ |
Creates an AccessResultInterface object with isNeutral() === TRUE. |
AccessResult::orIf | function | core/ |
Combine this access result with another using OR. |
AccessResult::resetCacheContexts | function | core/ |
Resets cache contexts (to the empty array). |
AccessResult::resetCacheTags | function | core/ |
Resets cache tags (to the empty array). |
AccessResult::setCacheMaxAge | function | core/ |
Sets the maximum age for which this access result may be cached. |
AccessResultAllowed | class | core/ |
Value object indicating an allowed access result, with cacheability metadata. |
AccessResultAllowed.php | file | core/ |
|
AccessResultAllowed::isAllowed | function | core/ |
Checks whether this access result indicates access is explicitly allowed. |
AccessResultForbidden | class | core/ |
Value object indicating a forbidden access result, with cacheability metadata. |
AccessResultForbidden.php | file | core/ |
|
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::isForbidden | function | core/ |
Checks whether this access result indicates access is explicitly forbidden. |
AccessResultForbidden::setReason | function | core/ |
Sets the reason for this access result. |
AccessResultForbidden::__construct | function | core/ |
Constructs a new AccessResultForbidden instance. |
AccessResultForbiddenTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResultForbidden @group Access |
AccessResultForbiddenTest.php | file | core/ |
|
AccessResultForbiddenTest::testConstruction | function | core/ |
Tests the construction of an AccessResultForbidden object. |
AccessResultForbiddenTest::testSetReason | function | core/ |
Tests setReason() |
AccessResultInterface | interface | core/ |
Interface for access result value objects. |
AccessResultInterface.php | file | core/ |
|
AccessResultInterface::andIf | function | core/ |
Combine this access result with another using AND. |
AccessResultInterface::isAllowed | function | core/ |
Checks whether this access result indicates access is explicitly allowed. |
AccessResultInterface::isForbidden | function | core/ |
Checks whether this access result indicates access is explicitly forbidden. |
AccessResultInterface::isNeutral | function | core/ |
Checks whether this access result indicates access is not yet determined. |
AccessResultInterface::orIf | function | core/ |
Combine this access result with another using OR. |
AccessResultNeutral | class | core/ |
Value object indicating a neutral access result, with cacheability metadata. |
AccessResultNeutral.php | file | core/ |
|
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::isNeutral | function | core/ |
Checks whether this access result indicates access is not yet determined. |
AccessResultNeutral::setReason | function | core/ |
Sets the reason for this access result. |
AccessResultNeutral::__construct | function | core/ |
Constructs a new AccessResultNeutral instance. |
AccessResultNeutralTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResultNeutral @group Access |
AccessResultNeutralTest.php | file | core/ |
|
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 | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResult @group Access |
AccessResultTest.php | file | core/ |
Contains \Drupal\Tests\Core\Access\AccessResultTest. |
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.