Search for cacheContexts
- Search 7.x for cacheContexts
- Search 8.9.x for cacheContexts
- Search 10.3.x for cacheContexts
- Search 11.x for cacheContexts
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
CacheContextsManager::parseTokens | function | core/ |
Parses cache context tokens into context IDs and optional parameters. |
CacheContextsManager::validateTokens | function | core/ |
Validates an array of cache context tokens. |
CacheContextsManager::__construct | function | core/ |
Constructs a CacheContextsManager object. |
CacheContextsManagerTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\Context\CacheContextsManager @group Cache |
CacheContextsManagerTest.php | file | core/ |
Contains \Drupal\Tests\Core\Cache\Context\CacheContextsManagerTest. |
CacheContextsManagerTest::getContextsFixture | function | core/ |
|
CacheContextsManagerTest::getMockContainer | function | core/ |
|
CacheContextsManagerTest::providerTestInvalidCalculatedContext | function | core/ |
Provides a list of invalid 'baz' cache contexts: the parameter is missing. |
CacheContextsManagerTest::providerTestOptimizeTokens | function | core/ |
Provides a list of context token sets. |
CacheContextsManagerTest::testAvailableContextLabels | function | core/ |
|
CacheContextsManagerTest::testAvailableContextStrings | function | core/ |
|
CacheContextsManagerTest::testConvertTokensToKeys | function | core/ |
@covers ::convertTokensToKeys |
CacheContextsManagerTest::testInvalidCalculatedContext | function | core/ |
@covers ::convertTokensToKeys |
CacheContextsManagerTest::testInvalidContext | function | core/ |
@covers ::convertTokensToKeys |
CacheContextsManagerTest::testOptimizeTokens | function | core/ |
@covers ::optimizeTokens |
CacheContextsManagerTest::testValidateContexts | function | core/ |
@covers ::validateTokens |
CacheContextsManagerTest::validateTokensProvider | function | core/ |
Provides a list of cache context token arrays. |
CacheContextsPass | class | core/ |
Adds cache_contexts parameter to the container. |
CacheContextsPass.php | file | core/ |
|
CacheContextsPass::process | function | core/ |
Implements CompilerPassInterface::process(). |
CacheTest::mergeCacheContextsProvide | function | core/ |
Provides a list of pairs of cache contexts arrays to be merged. |
CacheTest::testMergeCacheContexts | function | core/ |
@covers ::mergeContexts |
CommentCacheTagsTest::getAdditionalCacheContextsForEntity | function | core/ |
Returns the additional (non-standard) cache contexts for the tested entity. |
CommentCacheTagsTest::getDefaultCacheContexts | function | core/ |
Gets the default cache contexts for rendered entities. |
CommentResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
CommentTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
CommentTranslationUITest::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
ComputedString::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
ConfigBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
ConfigurableLanguageResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ConfigurableLanguageTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ContentLanguageSettingsResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ContentLanguageSettingsTest::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
ContentTestTranslationUITest::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
ContentTranslationManageAccessCheckTest::$cacheContextsManager | property | core/ |
The cache contexts manager. |
ContentTranslationUITestBase::$defaultCacheContexts | property | core/ |
Default cache contexts expected on a non-translated entity. |
Context::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
ContextAwarePluginTrait::getCacheContexts | function | core/ |
|
Current::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
CurrentThemeCondition::getCacheContexts | function | core/ |
|
CurrentUser::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
DefaultPluginManager::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
DefaultPluginManagerTest::testGetCacheContexts | function | core/ |
@covers ::getCacheContexts |
DynamicMenuLinkMock::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
DynamicPageCacheTestController::htmlWithCacheContexts | function | core/ |
A route returning a render array (with cache contexts, so cacheable). |
EditorResourceTestBase::getExpectedCacheContexts | function | core/ |
The expected cache contexts for the GET/HEAD response of the test entity. |
EntityBase::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
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. |
Pagination
- Previous page
- Page 2
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.