Search for context
- Search 7.x for context
- Search 9.5.x for context
- Search 8.9.x for context
- Search 11.x for context
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Context | class | core/ |
A Drupal specific context wrapper class. |
| Context | class | core/ |
A generic context class for wrapping data a plugin needs to operate. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| BreadcrumbFrontCacheContextsTest::testBreadcrumbsFrontPageCache | function | core/ |
Validate that breadcrumb markup get the right cache contexts. |
| BulkForm::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
| Cache::mergeContexts | function | core/ |
Merges arrays of cache contexts and removes duplicates. |
| 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. |
| CacheableNormalizerInterface::SERIALIZATION_CONTEXT_CACHEABILITY | constant | core/ |
Name of key for bubbling cacheability metadata via serialization context. |
| CacheContextInterface | interface | core/ |
Provides an interface for defining a cache context service. |
| CacheContextInterface.php | file | core/ |
|
| CacheContextInterface::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context. |
| CacheContextInterface::getContext | function | core/ |
Returns the string representation of the cache context. |
| CacheContextInterface::getLabel | function | core/ |
Returns the label of the cache context. |
| CacheContextOptimizationTest | class | core/ |
Tests the cache context optimization. |
| CacheContextOptimizationTest.php | file | core/ |
|
| CacheContextOptimizationTest::$modules | property | core/ |
Modules to install. |
| CacheContextOptimizationTest::setUp | function | core/ |
|
| CacheContextOptimizationTest::testUserPermissionCacheContextOptimization | function | core/ |
Ensures that 'user.permissions' cache context is able to define cache tags. |
| CacheContextOptimizationTest::testUserRolesCacheContextOptimization | function | core/ |
Ensures that 'user.roles' still works when it is optimized away. |
| CacheContextsManager | class | core/ |
Converts cache context tokens into cache keys. |
| CacheContextsManager.php | file | core/ |
|
| CacheContextsManager::$container | property | core/ |
The service container. |
| 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[[api-linebreak]] @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[[api-linebreak]] |
| CacheContextsManagerTest::testInvalidCalculatedContext | function | core/ |
@covers ::convertTokensToKeys[[api-linebreak]] |
| CacheContextsManagerTest::testInvalidContext | function | core/ |
@covers ::convertTokensToKeys[[api-linebreak]] |
| CacheContextsManagerTest::testOptimizeTokens | function | core/ |
@covers ::optimizeTokens[[api-linebreak]] |
| CacheContextsManagerTest::testValidateContexts | function | core/ |
@covers ::validateTokens[[api-linebreak]] |
| CacheContextsManagerTest::validateTokensProvider | function | core/ |
Provides a list of cache context token arrays. |
| CacheContextsPass | class | core/ |
Adds cache_contexts parameter to the container. |
Pagination
- Previous page
- Page 3
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.