Search for test
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Test | class | core/ |
Provides test media source. |
Test | class | core/ |
Defines a test controller for page titles. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
AccessPermissionTest::$webUser | property | core/ |
A user with no special permissions. |
AccessPermissionTest::setUp | function | core/ |
|
AccessPermissionTest::testAccessPerm | function | core/ |
Tests perm access plugin. |
AccessPermissionTest::testRenderCaching | function | core/ |
Tests access on render caching. |
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. |
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() |
AccessResultNeutralTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResultNeutral[[api-linebreak]] @group Access |
AccessResultNeutralTest.php | file | core/ |
|
AccessResultNeutralTest::testConstruction | function | core/ |
Tests the construction of an AccessResultForbidden object. |
AccessResultNeutralTest::testSetReason | function | core/ |
Tests setReason() |
AccessResultTest | class | core/ |
@coversDefaultClass \Drupal\Core\Access\AccessResult[[api-linebreak]] @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[[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]] |
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::testCacheMaxAge | function | core/ |
@covers ::setCacheMaxAge[[api-linebreak]] @covers ::getCacheMaxAge[[api-linebreak]] |
AccessResultTest::testCacheTags | function | core/ |
@covers ::addCacheTags[[api-linebreak]] @covers ::addCacheableDependency[[api-linebreak]] @covers ::getCacheTags[[api-linebreak]] @covers ::resetCacheTags[[api-linebreak]] |
AccessResultTest::testConstruction | function | core/ |
Tests the construction of an AccessResult object. |
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.