variation_cache_factory
Same name and namespace in other branches
- 10 core/core.services.yml \variation_cache_factory
Class
Drupal\Core\Cache\VariationCacheFactory7 string references to variation_cache_factory
- BlockViewBuilderTest::assertBlockRenderedWithExpectedCacheability in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Asserts that a block is built/rendered/cached with expected cacheability.
- BlockViewBuilderTest::verifyRenderCacheHandling in core/
modules/ block/ tests/ src/ Kernel/ BlockViewBuilderTest.php - Verifies render cache handling of the block being tested.
- CacheTestTrait::getDefaultVariationCache in core/
modules/ system/ tests/ src/ Traits/ CacheTestTrait.php - Retrieves the default cache backend as a variation cache.
- CacheTestTrait::getRenderVariationCache in core/
modules/ system/ tests/ src/ Traits/ CacheTestTrait.php - Retrieves the render cache backend as a variation cache.
- CacheWebTest::testCacheOutputOnPage in core/
modules/ views/ tests/ src/ Functional/ Plugin/ CacheWebTest.php - Tests the output caching on an actual page.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Cache\VariationCacheFactory
- arguments:
- - '@request_stack'
- - '@cache_factory'
- - '@cache_contexts_manager'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.