Search for d
Title | Object type | File name | Summary |
---|---|---|---|
AccessResult::allowedIf | function | core/ |
Creates an allowed or neutral access result. |
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::andIf | function | core/ |
Combine this access result with another using AND. |
AccessResult::forbidden | function | core/ |
Creates an AccessResultInterface object with isForbidden() === TRUE. |
AccessResult::forbiddenIf | function | core/ |
Creates a forbidden or neutral access result. |
AccessResult::isAllowed | function | core/ |
|
AccessResult::isForbidden | function | core/ |
|
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 for 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[[api-linebreak]] @group Access |
AccessResultForbiddenTest.php | file | core/ |
|
AccessResultForbiddenTest::testConstruction | function | core/ |
Tests the construction of an AccessResultForbidden object. |
AccessResultForbiddenTest::testSetReason | function | core/ |
Tests setReason() |
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. |
AccessResultTest::andOrCacheabilityPropagationProvider | function | core/ |
Provides a list of access result pairs and operations to test. |
AccessResultTest::assertDefaultCacheability | function | core/ |
@internal |
AccessResultTest::providerTestAllowedIfHasPermissions | function | core/ |
Provides data for the testAllowedIfHasPermissions() method. |
AccessResultTest::testAccessAllowed | function | core/ |
@covers ::allowed[[api-linebreak]] @covers ::isAllowed[[api-linebreak]] @covers ::isForbidden[[api-linebreak]] @covers ::isNeutral[[api-linebreak]] |
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::testAccessForbidden | function | core/ |
@covers ::forbidden[[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::testAndIf | function | core/ |
@covers ::andIf[[api-linebreak]] |
AccessResultTest::testAndOrCacheabilityPropagation | function | core/ |
@covers ::andIf[[api-linebreak]] @covers ::orIf[[api-linebreak]] @covers ::inheritCacheability[[api-linebreak]] |
AccessRoleTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AccessRoleTest::testRenderCaching | function | core/ |
Tests access on render caching. |
AccessRoleUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AccessRoleUITest::$modules | property | core/ |
Modules to install. |
AccessRouteAlterSubscriber::accessAdminMenuBlockPage | function | core/ |
Adds requirements to some System Controller routes. |
AccessRouteAlterSubscriber::getSubscribedEvents | function | core/ |
|
AccessTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AccessTest::$modules | property | core/ |
Modules to install. |
AccessTest::$modules | property | core/ |
Modules to install. |
AccessTest::testCheckFieldAccess | function | core/ |
Tests file entity field access. |
AccessTestBase::$modules | property | core/ |
Modules to install. |
access_check.admin_menu_block_page | service | core/ |
Drupal\system\Access\SystemAdminMenuBlockAccessCheck |
access_check.admin_overview_page | service | core/ |
Drupal\system\Access\SystemAdminMenuBlockAccessCheck |
access_check.db_update | service | core/ |
Drupal\system\Access\DbUpdateAccessCheck |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.