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
EntityViewBuilder::getCacheTags function core/lib/Drupal/Core/Entity/EntityViewBuilder.php The cache tag associated with this entity view builder.
EntityViewBuilderInterface::getCacheTags function core/lib/Drupal/Core/Entity/EntityViewBuilderInterface.php The cache tag associated with this entity view builder.
ExposedFormPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php The cache contexts associated with this object.
ExposedFormPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php The maximum age for which this object may be cached.
ExposedFormPluginBase::getCacheTags function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php The cache tags associated with this object.
FilterPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php The cache contexts associated with this object.
FilterPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php The maximum age for which this object may be cached.
FilterPluginBase::getCacheTags function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php The cache tags associated with this object.
Fixed::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/Fixed.php The cache contexts associated with this object.
Fixed::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/Fixed.php The maximum age for which this object may be cached.
FooCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php Gets the cacheability metadata for the context.
FormattedDateDiff::getCacheMaxAge function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php The maximum age for which this object may be cached.
FormBuilder::getCache function core/lib/Drupal/Core/Form/FormBuilder.php Fetches a form from the cache.
FormBuilderTest::testGetCache function core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php Tests the getCache() method.
FormCache::getCache function core/lib/Drupal/Core/Form/FormCache.php Fetches a form from the cache.
FormCacheInterface::getCache function core/lib/Drupal/Core/Form/FormCacheInterface.php Fetches a form from the cache.
FormCacheTest::testGetCacheAnonUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testGetCacheAuthUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testGetCacheImmutableForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testGetCacheInvalidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testGetCacheNoForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormCacheTest::testGetCacheValidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php @covers ::getCache
FormState::getCacheableArray function core/lib/Drupal/Core/Form/FormState.php Returns an array representation of the cacheable portion of the form state.
FormStateDecoratorBase::getCacheableArray function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Returns an array representation of the cacheable portion of the form state.
FormStateDecoratorBaseTest::testGetCacheableArray function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::getCacheableArray
FormStateInterface::getCacheableArray function core/lib/Drupal/Core/Form/FormStateInterface.php Returns an array representation of the cacheable portion of the form state.
ForumBlockBase::getCacheContexts function core/modules/forum/src/Plugin/Block/ForumBlockBase.php
ForumBlockBase::getCacheTags function core/modules/forum/src/Plugin/Block/ForumBlockBase.php
GenericCacheBackendUnitTestBase::getCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Gets a backend to test; this will get a shared instance set in the object.
HeadersCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/HeadersCacheContext.php Gets the cacheability metadata for the context based on the parameter value.
HelpBlock::getCacheContexts function core/modules/help/src/Plugin/Block/HelpBlock.php
HelpTopicSection::getCacheContexts function core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
HelpTopicSection::getCacheMaxAge function core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
HelpTopicSection::getCacheMetadata function core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php Gets the merged CacheableMetadata for all the top level help topic plugins.
HelpTopicSection::getCacheTags function core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php
HelpTopicTwig::getCacheContexts function core/modules/help_topics/src/HelpTopicTwig.php The cache contexts associated with this object.
HelpTopicTwig::getCacheMaxAge function core/modules/help_topics/src/HelpTopicTwig.php The maximum age for which this object may be cached.
HelpTopicTwig::getCacheTags function core/modules/help_topics/src/HelpTopicTwig.php The cache tags associated with this object.
InaccessibleMenuLink::getCacheContexts function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The cache contexts associated with this object.
InaccessibleMenuLink::getCacheMaxAge function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The maximum age for which this object may be cached.
InaccessibleMenuLink::getCacheTags function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php The cache tags associated with this object.
IpCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IpCacheContext.php Gets the cacheability metadata for the context.
IsFrontPathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php Gets the cacheability metadata for the context.
IsSuperUserCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php Gets the cacheability metadata for the context.
Item::getCacheTagsToInvalidate function core/modules/aggregator/src/Entity/Item.php Returns the cache tags that should be used to invalidate caches.
LanguageBlock::getCacheMaxAge function core/modules/language/src/Plugin/Block/LanguageBlock.php @todo Make cacheable in https://www.drupal.org/node/2232375.
LanguageConfigFactoryOverride::getCacheableMetadata function core/modules/language/src/Config/LanguageConfigFactoryOverride.php Gets the cacheability metadata associated with the config factory override.
LanguageConfigFactoryOverride::getCacheSuffix function core/modules/language/src/Config/LanguageConfigFactoryOverride.php The string to append to the configuration static cache name.
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 Gets the cacheability metadata for the context based on the parameter value.

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