Search for all
Title | Object type | File name | Summary |
---|---|---|---|
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/ |
|
AccessResultTest::$cacheContextsManager | property | core/ |
The cache contexts manager. |
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::setUp | function | core/ |
|
AccessResultTest::testAccessAllowed | function | core/ |
@covers ::allowed @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessConditionallyAllowed | function | core/ |
@covers ::allowedIf @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessConditionallyForbidden | function | core/ |
@covers ::forbiddenIf @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessForbidden | function | core/ |
@covers ::forbidden @covers ::isAllowed @covers ::isForbidden @covers ::isNeutral |
AccessResultTest::testAccessForbiddenReason | function | core/ |
@covers ::forbidden |
AccessResultTest::testAllowedIfHasPermissions | function | core/ |
Tests allowedIfHasPermissions(). |
AccessResultTest::testAndIf | function | core/ |
@covers ::andIf |
AccessResultTest::testAndOrCacheabilityPropagation | function | core/ |
@covers ::andIf @covers ::orIf @covers ::inheritCacheability |
AccessResultTest::testCacheContexts | function | core/ |
@covers ::addCacheContexts @covers ::resetCacheContexts @covers ::getCacheContexts @covers ::cachePerPermissions @covers ::cachePerUser @covers ::allowedIfHasPermission |
AccessResultTest::testCacheMaxAge | function | core/ |
@covers ::setCacheMaxAge @covers ::getCacheMaxAge |
AccessResultTest::testCacheTags | function | core/ |
@covers ::addCacheTags @covers ::addCacheableDependency @covers ::getCacheTags @covers ::resetCacheTags |
AccessResultTest::testConstruction | function | core/ |
Tests the construction of an AccessResult object. |
AccessResultTest::testInheritCacheability | function | core/ |
@covers ::inheritCacheability |
AccessResultTest::testOrIf | function | core/ |
@covers ::orIf |
AccessResultTest::testOrIfCacheabilityMerging | function | core/ |
Tests orIf(). |
AccessRoleTest | class | core/ |
Tests views role access plugin. |
AccessRoleTest.php | file | core/ |
|
AccessRoleTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AccessRoleTest::$testViews | property | core/ |
Views used by this test. |
AccessRoleTest::setUp | function | core/ |
Sets up the test. |
AccessRoleTest::testAccessRole | function | core/ |
Tests role access plugin. |
AccessRoleTest::testRenderCaching | function | core/ |
Tests access on render caching. |
AccessRoleUITest | class | core/ |
Tests views role access plugin UI. |
AccessRoleUITest.php | file | core/ |
|
AccessRoleUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
AccessRoleUITest::$modules | property | core/ |
Modules to install. |
AccessRoleUITest::$testViews | property | core/ |
Views used by this test. |
AccessRoleUITest::setUp | function | core/ |
Sets up the test. |
AccessRoleUITest::testAccessRoleUI | function | core/ |
Tests the role access plugin UI. |
AccessRouteAlterSubscriber | class | core/ |
Alters routes to add necessary requirements. |
Pagination
- Previous page
- Page 7
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.