Search for getCache

  1. Search 7.x for getCache
  2. Search 9.5.x for getCache
  3. Search 8.9.x for getCache
  4. Search 11.x for getCache
  5. Other projects
Title Object type File name Summary
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.
NavigationMenuBlock::getCacheContexts function core/modules/navigation/src/Plugin/Block/NavigationMenuBlock.php
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.
PerformanceData::getCacheDeleteCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache delete count.
PerformanceData::getCacheGetCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache get count.
PerformanceData::getCacheSetCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache set count.
PerformanceData::getCacheTagChecksumCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache tag checksum count.
PerformanceData::getCacheTagInvalidationCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache tag invalidation count.
PerformanceData::getCacheTagIsValidCount function core/tests/Drupal/Tests/PerformanceData.php Gets the cache tag isValid count.
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.
PermissionsHashGenerator::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGenerator.php
PermissionsHashGeneratorInterface::getCacheableMetadata function core/lib/Drupal/Core/Session/PermissionsHashGeneratorInterface.php Gets the cacheability metadata for the generated hash.
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 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.

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