Search for cacheContexts
- Search 7.x for cacheContexts
- Search 9.5.x for cacheContexts
- Search 8.9.x for cacheContexts
- Search 10.3.x for cacheContexts
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
Access::getCacheContexts | function | core/ |
|
AccessPolicyBase::getPersistentCacheContexts | function | core/ |
|
AccessPolicyInterface::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
AccessPolicyProcessor::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts of all policies within a given scope. |
AccessPolicyProcessorTest::testCacheContexts | function | core/ |
Tests that only the cache contexts for policies that apply are added. |
AccessResult::getCacheContexts | function | core/ |
|
AccessResult::resetCacheContexts | function | core/ |
Resets cache contexts (to the empty array). |
AccessResultTest::$cacheContextsManager | property | core/ |
The cache contexts manager. |
AccessResultTest::testCacheContexts | function | core/ |
@covers ::addCacheContexts @covers ::resetCacheContexts @covers ::getCacheContexts @covers ::cachePerPermissions @covers ::cachePerUser @covers ::allowedIfHasPermission |
ActionResourceTestBase::getExpectedCacheContexts | function | core/ |
|
AlwaysAddsAccessPolicy::getPersistentCacheContexts | function | core/ |
|
AlwaysAltersAccessPolicy::getPersistentCacheContexts | function | core/ |
|
ArgumentPluginBase::getCacheContexts | function | core/ |
|
AssertPageCacheContextsAndTagsTrait | trait | core/ |
Provides test assertions for testing page-level cache contexts & tags. |
AssertPageCacheContextsAndTagsTrait.php | file | core/ |
|
AssertPageCacheContextsAndTagsTrait::assertCacheContext | function | core/ |
Asserts whether an expected cache context was present in the last response. |
AssertPageCacheContextsAndTagsTrait::assertCacheContexts | function | core/ |
Ensures that some cache contexts are present in the current response. |
AssertPageCacheContextsAndTagsTrait::assertCacheMaxAge | function | core/ |
Asserts the max age header. |
AssertPageCacheContextsAndTagsTrait::assertCacheTags | function | core/ |
Ensures that some cache tags are present in the current response. |
AssertPageCacheContextsAndTagsTrait::assertNoCacheContext | function | core/ |
Asserts that a cache context was not present in the last response. |
AssertPageCacheContextsAndTagsTrait::assertPageCacheContextsAndTags | function | core/ |
Asserts page cache miss, then hit for the given URL; checks cache headers. |
AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
BarAccessPolicy::getPersistentCacheContexts | function | core/ |
|
BaseFieldOverrideResourceTestBase::getExpectedCacheContexts | function | core/ |
|
BazAccessPolicy::getPersistentCacheContexts | function | core/ |
|
BlockContentCacheTagsTest::getAccessCacheContextsForEntity | function | core/ |
|
BlockContentResourceTestBase::getExpectedCacheContexts | function | core/ |
|
BlockContentTest::getExpectedCacheContexts | function | core/ |
|
BlockContentTranslationUITest::$defaultCacheContexts | property | core/ |
|
BlockResourceTestBase::getExpectedCacheContexts | function | core/ |
|
BlockTest::getExpectedCacheContexts | function | core/ |
|
BookNavigationBlock::getCacheContexts | function | core/ |
|
BreadcrumbFrontCacheContextsTest | class | core/ |
Tests breadcrumbs functionality. |
BreadcrumbFrontCacheContextsTest.php | file | core/ |
|
BreadcrumbFrontCacheContextsTest::$defaultTheme | property | core/ |
|
BreadcrumbFrontCacheContextsTest::$modules | property | core/ |
|
BreadcrumbFrontCacheContextsTest::$nodeWithAlias | property | core/ |
A test node with path alias. |
BreadcrumbFrontCacheContextsTest::setUp | function | core/ |
|
BreadcrumbFrontCacheContextsTest::testBreadcrumbsFrontPageCache | function | core/ |
Validate that breadcrumb markup get the right cache contexts. |
BulkForm::getCacheContexts | function | core/ |
|
CacheableDependencyInterface::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
CacheableDependencyTrait::$cacheContexts | property | core/ |
Cache contexts. |
CacheableDependencyTrait::getCacheContexts | function | core/ |
|
CacheableMetadata::getCacheContexts | function | core/ |
|
CacheableMetadata::setCacheContexts | function | core/ |
Sets cache contexts. |
CacheableMetadataCalculationTest::getCacheContexts | function | core/ |
|
CacheContextsManager | class | core/ |
Converts cache context tokens into cache keys. |
CacheContextsManager.php | file | core/ |
|
CacheContextsManager::$container | property | core/ |
The service container. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.