Search for contexts

  1. Search 7.x for contexts
  2. Search 9.5.x for contexts
  3. Search 8.9.x for contexts
  4. Search 11.x for contexts
  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.
UserContextAccessPolicy::getPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php Gets the persistent cache contexts.
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
UserRolesAccessPolicy::getPersistentCacheContexts function core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Gets the persistent cache contexts.
UserRolesAccessPolicyTest::testGetPersistentCacheContexts function core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php Tests the getPersistentCacheContexts method.
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.
VariationCacheTest::$cacheContextsManager property core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php The prophesized cache contexts manager.
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.