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 |
---|---|---|---|
CacheContextsManager::$contexts | property | core/ |
Available cache context IDs and corresponding labels. |
CacheContextsManager::$validContextTokens | property | core/ |
The set of valid context tokens. |
CacheContextsManager::assertValidTokens | function | core/ |
Asserts the context tokens are valid. |
CacheContextsManager::convertTokensToKeys | function | core/ |
Converts cache context tokens to cache keys. |
CacheContextsManager::getAll | function | core/ |
Provides an array of available cache contexts. |
CacheContextsManager::getLabels | function | core/ |
Provides an array of available cache context labels. |
CacheContextsManager::getService | function | core/ |
Retrieves a cache context service from the container. |
CacheContextsManager::optimizeTokens | function | core/ |
Optimizes cache context tokens (the minimal representative subset). |
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/ |
|
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/ |
|
CommentCacheTagsTest::getDefaultCacheContexts | function | core/ |
|
CommentResourceTestBase::getExpectedCacheContexts | function | core/ |
|
CommentTest::getExpectedCacheContexts | function | core/ |
|
CommentTranslationUITest::$defaultCacheContexts | property | core/ |
|
ComputedString::getCacheContexts | function | core/ |
|
ConfigBase::getCacheContexts | function | core/ |
|
ConfigurableLanguageResourceTestBase::getExpectedCacheContexts | function | core/ |
|
ConfigurableLanguageTest::getExpectedCacheContexts | function | core/ |
|
ContentLanguageSettingsResourceTestBase::getExpectedCacheContexts | function | core/ |
|
ContentLanguageSettingsTest::getExpectedCacheContexts | function | core/ |
|
ContentTestTranslationUITest::$defaultCacheContexts | property | core/ |
|
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/ |
|
ContextAwarePluginTrait::getCacheContexts | function | core/ |
|
Current::getCacheContexts | function | core/ |
|
CurrentThemeCondition::getCacheContexts | function | core/ |
|
CurrentUser::getCacheContexts | function | core/ |
|
DefaultPluginManager::getCacheContexts | function | core/ |
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.