variation_cache_factory
Class
Drupal\Core\Cache\VariationCacheFactory6 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.
- EntityCacheTagsTestBase::getRenderCacheBackend in core/
modules/ system/ tests/ src/ Functional/ Entity/ EntityCacheTagsTestBase.php - Retrieves the render cache backend as a variation cache.
- PlaceholderingRenderCache::__construct in core/
lib/ Drupal/ Core/ Render/ PlaceholderingRenderCache.php - Constructs a new PlaceholderingRenderCache object.
- RenderCache::__construct in core/
lib/ Drupal/ Core/ Render/ RenderCache.php - Constructs a new RenderCache object.
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.