You are here

service cache_contexts_manager in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \cache_contexts_manager
  2. 9 core/core.services.yml \cache_contexts_manager

Class

Drupal\Core\Cache\Context\CacheContextsManager
53 string references to cache_contexts_manager
AccessManagerTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php
AccessResultTest::setUp in core/tests/Drupal/Tests/Core/Access/AccessResultTest.php
ActiveWorkspaceCheckTest::setUp in core/modules/workspaces/tests/src/Unit/ActiveWorkspaceCheckTest.php
BlockPageVariantTest::setUpDisplayVariant in core/modules/block/tests/src/Unit/Plugin/DisplayVariant/BlockPageVariantTest.php
Sets up a display variant plugin for testing.
BlockTest::testBlockCacheTags in core/modules/block/tests/src/Functional/BlockTest.php
Tests that cache tags are properly set and bubbled up to the page cache.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Cache\Context\CacheContextsManager
  2. arguments:
  3. - '@service_container'
  4. - '%cache_contexts%'