Search for cacheContexts

  1. Search 7.x for cacheContexts
  2. Search 8.9.x for cacheContexts
  3. Search 10.3.x for cacheContexts
  4. Search 11.x for cacheContexts
  5. Other projects
Title Object type File name Summary
TourResourceTestBase::getExpectedCacheContexts function core/modules/tour/tests/src/Functional/Rest/TourResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
TranslationLanguageRenderer::getCacheContexts function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php The cache contexts associated with this object.
UncacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php
UnchangingCacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php
User::getCacheContexts function core/modules/user/src/Plugin/views/argument_default/User.php The cache contexts associated with this object.
UserResourceTestBase::getExpectedCacheContexts function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
UserRole::getCacheContexts function core/modules/user/src/Plugin/Condition/UserRole.php
UserTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/UserTest.php The expected cache contexts for the GET/HEAD response of the test entity.
UserTranslationUITest::$defaultCacheContexts property core/modules/user/tests/src/Functional/UserTranslationUITest.php Default cache contexts expected on a non-translated entity.
ViewsExposedFilterBlock::getCacheContexts function core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php
ViewsTestCacheContextFilter::getCacheContexts function core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php The cache contexts associated with this object.
ViewUI::addCacheContexts function core/modules/views_ui/src/ViewUI.php Adds cache contexts.
ViewUI::getCacheContexts function core/modules/views_ui/src/ViewUI.php The cache contexts associated with this object.

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