Search for getCache

  1. Search 7.x for getCache
  2. Search 9.5.x for getCache
  3. Search 10.3.x for getCache
  4. Search 11.x for getCache
  5. Other projects
Title Object type File name Summary
LanguagesCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/LanguagesCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
LayoutBuilderIsActiveCacheContext::getCacheableMetadata function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php
LocalActionDefault::getCacheContexts function core/lib/Drupal/Core/Menu/LocalActionDefault.php The cache contexts associated with this object.
LocalActionDefault::getCacheMaxAge function core/lib/Drupal/Core/Menu/LocalActionDefault.php The maximum age for which this object may be cached.
LocalActionDefault::getCacheTags function core/lib/Drupal/Core/Menu/LocalActionDefault.php The cache tags associated with this object.
LocalTaskDefault::getCacheContexts function core/lib/Drupal/Core/Menu/LocalTaskDefault.php The cache contexts associated with this object.
LocalTaskDefault::getCacheMaxAge function core/lib/Drupal/Core/Menu/LocalTaskDefault.php The maximum age for which this object may be cached.
LocalTaskDefault::getCacheTags function core/lib/Drupal/Core/Menu/LocalTaskDefault.php The cache tags associated with this object.
LoginLogoutMenuLink::getCacheContexts function core/modules/user/src/Plugin/Menu/LoginLogoutMenuLink.php The cache contexts associated with this object.
MenuActiveTrailsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/MenuActiveTrailsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
MenuLinkBase::getCacheContexts function core/lib/Drupal/Core/Menu/MenuLinkBase.php The cache contexts associated with this object.
MenuLinkBase::getCacheMaxAge function core/lib/Drupal/Core/Menu/MenuLinkBase.php The maximum age for which this object may be cached.
MenuLinkBase::getCacheTags function core/lib/Drupal/Core/Menu/MenuLinkBase.php The cache tags associated with this object.
MenuLinkMock::getCacheContexts function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php The cache contexts associated with this object.
MenuLinkMock::getCacheMaxAge function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php The maximum age for which this object may be cached.
MenuLinkMock::getCacheTags function core/tests/Drupal/Tests/Core/Menu/MenuLinkMock.php The cache tags associated with this object.
ModerationStateFilter::getCacheContexts function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
ModerationStateFilter::getCacheTags function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
Node::getCacheContexts function core/modules/node/src/Plugin/views/argument_default/Node.php
Node::getCacheMaxAge function core/modules/node/src/Plugin/views/argument_default/Node.php
NodeAccessGrantsCacheContext::getCacheableMetadata function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php
NoOptimizeCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Gets the cacheability metadata for the context.
PageCache::getCacheId function core/modules/page_cache/src/StackMiddleware/PageCache.php Gets the page cache ID for this request.
PagersCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PagersCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
PathAlias::getCacheTagsToInvalidate function core/modules/path_alias/src/Entity/PathAlias.php
PathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathCacheContext.php Gets the cacheability metadata for the context.
PathParentCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php Gets the cacheability metadata for the context.
Permission::getCacheContexts function core/modules/user/src/Plugin/views/access/Permission.php The cache contexts associated with this object.
Permission::getCacheMaxAge function core/modules/user/src/Plugin/views/access/Permission.php The maximum age for which this object may be cached.
Permission::getCacheTags function core/modules/user/src/Plugin/views/access/Permission.php The cache tags associated with this object.
PirateDayCacheabilityMetadataConfigOverride::getCacheableMetadata function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php
PirateDayCacheabilityMetadataConfigOverride::getCacheSuffix function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php
PirateDayCacheContext::getCacheableMetadata function core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php
ProtocolVersionCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/ProtocolVersionCacheContext.php Gets the cacheability metadata for the context.
QueryArgsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
QueryParameter::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/QueryParameter.php
QueryParameter::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/QueryParameter.php
QueryPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/query/QueryPluginBase.php
QueryPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/query/QueryPluginBase.php
QueryPluginBase::getCacheTags function core/modules/views/src/Plugin/views/query/QueryPluginBase.php
Raw::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/Raw.php
Raw::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/Raw.php
RedirectFormBlock::getCacheMaxAge function core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php @todo Make cacheable once https://www.drupal.org/node/2351015 lands.
RenderCache::getCacheableRenderArray function core/lib/Drupal/Core/Render/RenderCache.php Gets a cacheable render array for a render array and its rendered output.
RenderCacheInterface::getCacheableRenderArray function core/lib/Drupal/Core/Render/RenderCacheInterface.php Gets a cacheable render array for a render array and its rendered output.
RenderedEntity::getCacheContexts function core/modules/views/src/Plugin/views/field/RenderedEntity.php
RenderedEntity::getCacheMaxAge function core/modules/views/src/Plugin/views/field/RenderedEntity.php
RenderedEntity::getCacheTags function core/modules/views/src/Plugin/views/field/RenderedEntity.php
RendererBase::getCacheContexts function core/modules/views/src/Entity/Render/RendererBase.php
RendererBase::getCacheMaxAge function core/modules/views/src/Entity/Render/RendererBase.php

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