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/ |
Gets the persistent cache contexts. |
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/ |
The cache contexts associated with this object. |
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/ |
Gets the persistent cache contexts. |
AlwaysAltersAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
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/ |
Gets the persistent cache contexts. |
BaseFieldOverrideResourceTestBase::getExpectedCacheContexts | function | core/ |
|
BazAccessPolicy::getPersistentCacheContexts | function | core/ |
Gets the persistent cache contexts. |
BlockContentCacheTagsTest::getAccessCacheContextsForEntity | function | core/ |
|
BlockContentResourceTestBase::getExpectedCacheContexts | function | core/ |
|
BlockContentTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
BlockContentTranslationUITest::$defaultCacheContexts | property | core/ |
|
BlockResourceTestBase::getExpectedCacheContexts | function | core/ |
|
BlockTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
BookNavigationBlock::getCacheContexts | function | core/ |
|
BreadcrumbFrontCacheContextsTest | class | core/ |
Tests breadcrumbs functionality. |
BreadcrumbFrontCacheContextsTest.php | file | core/ |
|
BreadcrumbFrontCacheContextsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
BreadcrumbFrontCacheContextsTest::$modules | property | core/ |
Modules to install. |
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/ |
The cache contexts associated with this object. |
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/ |
The cache contexts associated with this object. |
CacheableMetadata::setCacheContexts | function | core/ |
Sets cache contexts. |
CacheableMetadataCalculationTest::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
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.