Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| 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 enable. |
| 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::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/ |
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[[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. |
| CacheContextsPass.php | file | core/ |
|
| CacheContextsPass::process | function | core/ |
Implements CompilerPassInterface::process(). |
| CachedDataUITest | class | core/ |
Tests the shared tempstore cache in the UI. |
| CachedDataUITest.php | file | core/ |
|
| CachedDataUITest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
| CachedDataUITest::$testViews | property | core/ |
Views used by this test. |
| CachedDataUITest::testCacheData | function | core/ |
Tests the shared tempstore views data in the UI. |
| CachedDiscoveryClearer | class | core/ |
Provides a proxy class for \Drupal\Core\Plugin\CachedDiscoveryClearer. |
| CachedDiscoveryClearer | class | core/ |
Defines a class which is capable of clearing the cache on plugin managers. |
| CachedDiscoveryClearer.php | file | core/ |
|
| CachedDiscoveryClearer.php | file | core/ |
|
| CachedDiscoveryClearer::$cachedDiscoveries | property | core/ |
The stored discoveries. |
| CachedDiscoveryClearer::$container | property | core/ |
The service container. |
| CachedDiscoveryClearer::$drupalProxyOriginalServiceId | property | core/ |
The id of the original proxied service. |
| CachedDiscoveryClearer::$service | property | core/ |
The real proxied service, after it was lazy loaded. |
Pagination
- Previous page
- Page 144
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.