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
RendererBase::getCacheMaxAge function core/modules/views/src/Entity/Render/RendererBase.php The maximum age for which this object may be cached.
RendererBase::getCacheTags function core/modules/views/src/Entity/Render/RendererBase.php The cache tags associated with this object.
RequestFormatCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/RequestFormatCacheContext.php
RequestPath::getCacheContexts function core/modules/system/src/Plugin/Condition/RequestPath.php
Role::getCacheContexts function core/modules/user/src/Plugin/views/access/Role.php The cache contexts associated with this object.
Role::getCacheMaxAge function core/modules/user/src/Plugin/views/access/Role.php The maximum age for which this object may be cached.
Role::getCacheTags function core/modules/user/src/Plugin/views/access/Role.php The cache tags associated with this object.
RouteCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/RouteCacheContext.php Gets the cacheability metadata for the context.
Serializer::getCacheContexts function core/modules/rest/src/Plugin/views/style/Serializer.php The cache contexts associated with this object.
Serializer::getCacheMaxAge function core/modules/rest/src/Plugin/views/style/Serializer.php The maximum age for which this object may be cached.
Serializer::getCacheTags function core/modules/rest/src/Plugin/views/style/Serializer.php The cache tags associated with this object.
SessionExistsCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Gets the cacheability metadata for the context.
Shortcut::getCacheTagsToInvalidate function core/modules/shortcut/src/Entity/Shortcut.php Returns the cache tags that should be used to invalidate caches.
SiteCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/SiteCacheContext.php Gets the cacheability metadata for the context.
SortPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/sort/SortPluginBase.php The cache contexts associated with this object.
SortPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/sort/SortPluginBase.php The maximum age for which this object may be cached.
SortPluginBase::getCacheTags function core/modules/views/src/Plugin/views/sort/SortPluginBase.php The cache tags associated with this object.
SourcePluginBase::getCache function core/modules/migrate/src/Plugin/migrate/source/SourcePluginBase.php Gets the cache object.
Sql::getCacheMaxAge function core/modules/views/src/Plugin/views/query/Sql.php The maximum age for which this object may be cached.
Sql::getCacheTags function core/modules/views/src/Plugin/views/query/Sql.php The cache tags associated with this object.
SqlBase::getCacheContexts function core/modules/views/src/Plugin/views/pager/SqlBase.php The cache contexts associated with this object.
SqlBase::getCacheMaxAge function core/modules/views/src/Plugin/views/pager/SqlBase.php The maximum age for which this object may be cached.
SqlBase::getCacheTags function core/modules/views/src/Plugin/views/pager/SqlBase.php The cache tags associated with this object.
SqlTest::testGetCacheMaxAge function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::getCacheTags
@covers ::getAllEntities
SqlTest::testGetCacheTags function core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php @covers ::getCacheTags
@covers ::getAllEntities
StaticMenuLinkOverrides::getCacheTags function core/lib/Drupal/Core/Menu/StaticMenuLinkOverrides.php The unique cache tag associated with this menu link override.
StaticMenuLinkOverridesInterface::getCacheTags function core/lib/Drupal/Core/Menu/StaticMenuLinkOverridesInterface.php The unique cache tag associated with this menu link override.
Status::getCacheContexts function core/modules/media/src/Plugin/views/filter/Status.php The cache contexts associated with this object.
Status::getCacheContexts function core/modules/node/src/Plugin/views/filter/Status.php The cache contexts associated with this object.
StorageComparer::$targetCacheStorage property core/lib/Drupal/Core/Config/StorageComparer.php A memory cache backend to statically cache target configuration data.
StringLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/StringLoader.php
StubSourceGeneratorPlugin::getCacheCounts function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php Return the cacheCounts value.
SystemBrandingBlock::getCacheTags function core/modules/system/src/Plugin/Block/SystemBrandingBlock.php
SystemMenuBlock::getCacheContexts function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMenuBlock::getCacheTags function core/modules/system/src/Plugin/Block/SystemMenuBlock.php
SystemMessagesBlock::getCacheMaxAge function core/modules/system/src/Plugin/Block/SystemMessagesBlock.php
SystemTestController::getCacheableResponseWithCustomCacheControl function core/modules/system/tests/modules/system_test/src/Controller/SystemTestController.php Returns a cacheable response with a custom cache control.
Table::getCacheContexts function core/modules/views/src/Plugin/views/style/Table.php The cache contexts associated with this object.
Table::getCacheMaxAge function core/modules/views/src/Plugin/views/style/Table.php The maximum age for which this object may be cached.
Table::getCacheTags function core/modules/views/src/Plugin/views/style/Table.php The cache tags associated with this object.
TaxonomyIndexTid::getCacheContexts function core/modules/taxonomy/src/Plugin/views/filter/TaxonomyIndexTid.php The cache contexts associated with this object.
TestAccessBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestAccessBlock.php
TestCacheableDependency::getCacheContexts function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache contexts associated with this object.
TestCacheableDependency::getCacheMaxAge function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The maximum age for which this object may be cached.
TestCacheableDependency::getCacheTags function core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php The cache tags associated with this object.
TestCacheBlock::getCacheContexts function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestCacheBlock::getCacheMaxAge function core/modules/block/tests/modules/block_test/src/Plugin/Block/TestCacheBlock.php
TestHelpTopicPlugin::getCacheContexts function core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php The cache contexts associated with this object.
TestHelpTopicPlugin::getCacheMaxAge function core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php The maximum age for which this object may be cached.
TestHelpTopicPlugin::getCacheTags function core/modules/help_topics/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php The cache tags associated with this object.

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