Search for cacheContexts
- Search 7.x for cacheContexts
- Search 9.5.x for cacheContexts
- Search 10.3.x for cacheContexts
- Search 11.x for cacheContexts
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
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::debugCacheTags | function | core/ |
Provides debug information for cache tags. |
AssertPageCacheContextsAndTagsTrait::enablePageCaching | function | core/ |
Enables page caching. |
AssertPageCacheContextsAndTagsTrait::getCacheHeaderValues | function | core/ |
Gets a specific header value as array. |
BlockContentHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ContentTranslationUITestBase::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
EntityCacheTagsTestBase::getAccessCacheContextsForEntity | function | core/ |
Returns the access cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntity | function | core/ |
Returns the additional (non-standard) cache contexts for the tested entity. |
EntityCacheTagsTestBase::getAdditionalCacheContextsForEntityListing | function | core/ |
Returns the additional cache tags for the tested entity's listing by type. |
EntityTestHalJsonInternalPropertyNormalizerTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestLabelHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityTestMapFieldHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityWithUriCacheTagsTestBase::getDefaultCacheContexts | function | core/ |
Gets the default cache contexts for rendered entities. |
FileHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ItemHalJsonTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
MenuLinkContentHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
PathAliasHalJsonTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ShortcutHalJsonAnonTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.