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
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/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php The cache contexts associated with this object.
TestHelpTopicPlugin::getCacheMaxAge function core/modules/help/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/tests/modules/help_topics_test/src/Plugin/HelpTopic/TestHelpTopicPlugin.php The cache tags associated with this object.
TestLoader::getCacheKey function core/modules/system/tests/modules/twig_loader_test/src/Loader/TestLoader.php
TestTasksSettingsSub1::getCacheTags function core/modules/system/tests/modules/menu_test/src/Plugin/Menu/LocalTask/TestTasksSettingsSub1.php The cache tags associated with this object.
TextProcessed::getCacheContexts function core/modules/text/src/TextProcessed.php The cache contexts associated with this object.
TextProcessed::getCacheMaxAge function core/modules/text/src/TextProcessed.php The maximum age for which this object may be cached.
TextProcessed::getCacheTags function core/modules/text/src/TextProcessed.php The cache tags associated with this object.
ThemeCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/ThemeCacheContext.php Gets the cacheability metadata for the context.
ThemeRegistryLoader::getCacheKey function core/lib/Drupal/Core/Template/Loader/ThemeRegistryLoader.php
ThemeSettings::getCacheTags function core/lib/Drupal/Core/Theme/ThemeSettings.php The cache tags associated with this object.
Tid::getCacheContexts function core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php The cache contexts associated with this object.
Tid::getCacheMaxAge function core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php The maximum age for which this object may be cached.
Tid::getCacheTags function core/modules/taxonomy/src/Plugin/views/argument_default/Tid.php The cache tags associated with this object.
TimeZoneCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php Gets the cacheability metadata for the context.
TourHelpSection::getCacheMaxAge function core/modules/tour/src/Plugin/HelpSection/TourHelpSection.php
TranslationLanguageRenderer::getCacheContexts function core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php The cache contexts associated with this object.
TwigComponentLoader::getCacheKey function core/modules/sdc/src/Twig/TwigComponentLoader.php
UncacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php
UncacheableDependencyTrait::getCacheMaxAge function core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php
UncacheableDependencyTrait::getCacheTags function core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php
UnchangingCacheableDependencyTrait::getCacheContexts function core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php
UnchangingCacheableDependencyTrait::getCacheMaxAge function core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php
UnchangingCacheableDependencyTrait::getCacheTags function core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php
UrlCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/UrlCacheContext.php Gets the cacheability metadata for the context.
User::getCacheContexts function core/modules/user/src/Plugin/views/argument_default/User.php The cache contexts associated with this object.
User::getCacheMaxAge function core/modules/user/src/Plugin/views/argument_default/User.php The maximum age for which this object may be cached.
UserCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/UserCacheContext.php Gets the cacheability metadata for the context.
UserRole::getCacheContexts function core/modules/user/src/Plugin/Condition/UserRole.php
UserRolesCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/UserRolesCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
ViewExecutable::getCacheTags function core/modules/views/src/ViewExecutable.php Gets the cache tags associated with the executed view.
ViewsDataTest::testFullAndTableGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the cache of the full and single table data.
ViewsDataTest::testFullGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the caching of the full views data.
ViewsDataTest::testNonExistingTableGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests building the views data with a non existing table.
ViewsDataTest::testSingleTableGetCache function core/modules/views/tests/src/Unit/ViewsDataTest.php Tests the caching of the views data for a specific table.
ViewsExposedFilterBlock::getCacheContexts function core/modules/views/src/Plugin/Block/ViewsExposedFilterBlock.php
ViewsTestCacheContext::getCacheableMetadata function core/modules/views/tests/modules/views_test_data/src/Cache/ViewsTestCacheContext.php Gets the cacheability metadata for the context.
ViewsTestCacheContextFilter::getCacheContexts function core/modules/views/tests/modules/views_test_data/src/Plugin/views/filter/ViewsTestCacheContextFilter.php The cache contexts associated with this object.
ViewUI::getCacheContexts function core/modules/views_ui/src/ViewUI.php The cache contexts associated with this object.
ViewUI::getCacheMaxAge function core/modules/views_ui/src/ViewUI.php The maximum age for which this object may be cached.
ViewUI::getCacheTags function core/modules/views_ui/src/ViewUI.php The cache tags associated with this object.
ViewUI::getCacheTagsToInvalidate function core/modules/views_ui/src/ViewUI.php Returns the cache tags that should be used to invalidate caches.
WorkspaceCacheContext::getCacheableMetadata function core/modules/workspaces/src/WorkspaceCacheContext.php Gets the cacheability metadata for the context.

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