cache_contexts_manager

Same name in other branches
  1. 8.9.x core/core.services.yml \cache_contexts_manager
  2. 10 core/core.services.yml \cache_contexts_manager

Class

Drupal\Core\Cache\Context\CacheContextsManager
46 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.
BreadcrumbManagerTest::setUp in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbManagerTest.php

... See full list

File

core/core.services.yml

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

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