Search for getCacheContexts

  1. Search 7.x for getCacheContexts
  2. Search 8.9.x for getCacheContexts
  3. Search 10.3.x for getCacheContexts
  4. Search 11.x for getCacheContexts
  5. Other projects
Title Object type File name Summary
AccessResult::getCacheContexts function core/lib/Drupal/Core/Access/AccessResult.php The cache contexts associated with this object.
CacheableDependencyInterface::getCacheContexts function core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php The cache contexts associated with this object.
CacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableMetadata::getCacheContexts function core/lib/Drupal/Core/Cache/CacheableMetadata.php The cache contexts associated with this object.
ComputedString::getCacheContexts function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The cache contexts associated with this object.
ConfigBase::getCacheContexts function core/lib/Drupal/Core/Config/ConfigBase.php The cache contexts associated with this object.
Context::getCacheContexts function core/lib/Drupal/Core/Plugin/Context/Context.php The cache contexts associated with this object.
ContextAwarePluginTrait::getCacheContexts function core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php
Current::getCacheContexts function core/modules/user/src/Plugin/views/filter/Current.php The cache contexts associated with this object.
CurrentUser::getCacheContexts function core/modules/user/src/Plugin/views/argument_default/CurrentUser.php The cache contexts associated with this object.
DefaultPluginManager::getCacheContexts function core/lib/Drupal/Core/Plugin/DefaultPluginManager.php The cache contexts associated with this object.
DefaultPluginManagerTest::testGetCacheContexts function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php @covers ::getCacheContexts[[api-linebreak]]
DynamicMenuLinkMock::getCacheContexts function core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php The cache contexts associated with this object.
EntityBase::getCacheContexts function core/lib/Drupal/Core/Entity/EntityBase.php The cache contexts associated with this object.
InaccessibleMenuLink::getCacheContexts function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The cache contexts associated with this object.
LocalActionDefault::getCacheContexts function core/lib/Drupal/Core/Menu/LocalActionDefault.php The cache contexts associated with this object.
LocalTaskDefault::getCacheContexts function core/lib/Drupal/Core/Menu/LocalTaskDefault.php The cache contexts associated with this object.
LoginLogoutMenuLink::getCacheContexts function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php The cache contexts associated with this object.
MenuLinkBase::getCacheContexts function core/lib/Drupal/Core/Menu/MenuLinkBase.php The cache contexts associated with this object.
MenuLinkMock::getCacheContexts function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php The cache contexts associated with this object.
Permission::getCacheContexts function core/modules/user/src/Plugin/views/access/Permission.php The cache contexts associated with this object.
Role::getCacheContexts function core/modules/user/src/Plugin/views/access/Role.php The cache contexts associated with this object.
TaxonomyIndexTid::getCacheContexts function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php The cache contexts associated with this object.
TestCacheableDependency::getCacheContexts function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache contexts associated with this object.
TestCacheBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
Tid::getCacheContexts function core/modules/taxonomy/src/Plugin/views/argument_default/Tid.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.
UserRole::getCacheContexts function core/modules/user/src/Plugin/Condition/UserRole.php
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.