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 10.3.x for getCache
  5. Search 11.x for getCache
  6. Other projects
Title Object type File name Summary
EntityFieldRenderer::getCacheContexts function core/modules/views/src/Entity/Render/EntityFieldRenderer.php
EntityInterface::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityInterface.php Returns the cache tags that should be used to invalidate caches.
EntityTestViewGrantsCacheContext::getCacheableMetadata function core/modules/system/tests/modules/entity_test/src/Cache/EntityTestViewGrantsCacheContext.php
EntityViewBuilder::getCacheTags function core/lib/Drupal/Core/Entity/EntityViewBuilder.php
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
ExposedFormPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
ExposedFormPluginBase::getCacheTags function core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
FilterFormatRepository::getCacheTags function core/modules/filter/src/FilterFormatRepository.php Returns the 'filter_format' entity type list cache tags.
FilterPluginBase::getCacheContexts function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
FilterPluginBase::getCacheMaxAge function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
FilterPluginBase::getCacheTags function core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Fixed::getCacheContexts function core/modules/views/src/Plugin/views/argument_default/Fixed.php
Fixed::getCacheMaxAge function core/modules/views/src/Plugin/views/argument_default/Fixed.php
FooCacheContext::getCacheableMetadata function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
FormattedDateDiff::getCacheMaxAge function core/lib/Drupal/Core/Datetime/FormattedDateDiff.php
FormBuilder::getCache function core/lib/Drupal/Core/Form/FormBuilder.php
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
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 Tests get cache anon user.
FormCacheTest::testGetCacheAuthUser function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache auth user.
FormCacheTest::testGetCacheInvalidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache invalid token.
FormCacheTest::testGetCacheNoForm function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache no form.
FormCacheTest::testGetCacheValidToken function core/tests/Drupal/Tests/Core/Form/FormCacheTest.php Tests get cache valid token.
FormState::getCacheableArray function core/lib/Drupal/Core/Form/FormState.php
FormStateDecoratorBase::getCacheableArray function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php
FormStateDecoratorBaseTest::testGetCacheableArray function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php Tests get cacheable array.
FormStateInterface::getCacheableArray function core/lib/Drupal/Core/Form/FormStateInterface.php Returns an array representation of the cacheable portion of the form state.
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
HelpBlock::getCacheContexts function core/modules/help/src/Plugin/Block/HelpBlock.php
HelpTopicSection::getCacheContexts function core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php
HelpTopicSection::getCacheMaxAge function core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php
HelpTopicSection::getCacheMetadata function core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php Gets the merged CacheableMetadata for all the top level help topic plugins.
HelpTopicSection::getCacheTags function core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php
HelpTopicTwig::getCacheContexts function core/modules/help/src/HelpTopicTwig.php
HelpTopicTwig::getCacheMaxAge function core/modules/help/src/HelpTopicTwig.php
HelpTopicTwig::getCacheTags function core/modules/help/src/HelpTopicTwig.php
HtmxLocationResponseData::getCacheableMetadata function core/lib/Drupal/Core/Htmx/HtmxLocationResponseData.php Retrieves the cacheable metadata associated with the URL.
InaccessibleMenuLink::getCacheContexts function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php
InaccessibleMenuLink::getCacheMaxAge function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php
InaccessibleMenuLink::getCacheTags function core/lib/Drupal/Core/Menu/InaccessibleMenuLink.php
IpCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IpCacheContext.php
IsFrontPathCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsFrontPathCacheContext.php
IsSuperUserCacheContext::getCacheableMetadata function core/lib/Drupal/Core/Cache/Context/IsSuperUserCacheContext.php
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
LayoutBuilderIsActiveCacheContext::getCacheableMetadata function core/modules/layout_builder/src/Cache/LayoutBuilderIsActiveCacheContext.php

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