Search for getCache

  1. Search 7.x for getCache
  2. Search 8.9.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
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.
MediaLibraryState::getCacheContexts function core/modules/media_library/src/MediaLibraryState.php The cache contexts associated with this object.
MediaLibraryState::getCacheMaxAge function core/modules/media_library/src/MediaLibraryState.php The maximum age for which this object may be cached.
MediaLibraryState::getCacheTags function core/modules/media_library/src/MediaLibraryState.php The cache tags 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 The cache contexts associated with this object.
ModerationStateFilter::getCacheTags function core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php The cache tags associated with this object.
Node::getCacheContexts function core/modules/node/src/Plugin/views/argument_default/Node.php The cache contexts associated with this object.
Node::getCacheMaxAge function core/modules/node/src/Plugin/views/argument_default/Node.php The maximum age for which this object may be cached.
NodeAccessGrantsCacheContext::getCacheableMetadata function core/modules/node/src/Cache/NodeAccessGrantsCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
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 Returns the cache tags that should be used to invalidate caches.
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 Gets the cacheability metadata associated with the config factory override.
PirateDayCacheabilityMetadataConfigOverride::getCacheSuffix function core/modules/config/tests/config_override_test/src/PirateDayCacheabilityMetadataConfigOverride.php The string to append to the configuration static cache name.
PirateDayCacheContext::getCacheableMetadata function core/modules/config/tests/config_override_test/src/Cache/PirateDayCacheContext.php Gets the cacheability metadata for the context.
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 The cache contexts associated with this object.
QueryParameter::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/QueryParameter.php The maximum age for which this object may be cached.
QueryPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/query/QueryPluginBase.php The cache contexts associated with this object.
QueryPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/query/QueryPluginBase.php The maximum age for which this object may be cached.
QueryPluginBase::getCacheTags function core/modules/views/src/Plugin/views/query/QueryPluginBase.php The cache tags associated with this object.
Raw::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/Raw.php The cache contexts associated with this object.
Raw::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/Raw.php The maximum age for which this object may be cached.
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 The cache contexts associated with this object.
RenderedEntity::getCacheMaxAge function core/modules/views/src/Plugin/views/field/RenderedEntity.php The maximum age for which this object may be cached.
RenderedEntity::getCacheTags function core/modules/views/src/Plugin/views/field/RenderedEntity.php The cache tags associated with this object.
RendererBase::getCacheContexts function core/modules/views/src/Entity/Render/RendererBase.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.