service cache_contexts_manager in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \cache_contexts_manager
- 9 core/core.services.yml \cache_contexts_manager
Class
Drupal\Core\Cache\Context\CacheContextsManager53 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.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Cache\Context\CacheContextsManager
- arguments:
- - '@service_container'
- - '%cache_contexts%'