variation_cache_factory

Class

Drupal\Core\Cache\VariationCacheFactory
6 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.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Cache\VariationCacheFactory
  2. arguments:
  3. - '@request_stack'
  4. - '@cache_factory'
  5. - '@cache_contexts_manager'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.