Search for invalidate

  1. Search 7.x for invalidate
  2. Search 9.5.x for invalidate
  3. Search 10.3.x for invalidate
  4. Search 11.x for invalidate
  5. Other projects
Title Object type File name Summary
ApcuBackend::invalidate function core/lib/Drupal/Core/Cache/ApcuBackend.php Marks a cache item as invalid.
ApcuBackend::invalidateAll function core/lib/Drupal/Core/Cache/ApcuBackend.php Marks all cache items as invalid.
ApcuBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/ApcuBackend.php Marks cache items as invalid.
BackendChain::invalidate function core/lib/Drupal/Core/Cache/BackendChain.php Marks a cache item as invalid.
BackendChain::invalidateAll function core/lib/Drupal/Core/Cache/BackendChain.php Marks all cache items as invalid.
BackendChain::invalidateMultiple function core/lib/Drupal/Core/Cache/BackendChain.php Marks cache items as invalid.
BackendChain::invalidateTags function core/lib/Drupal/Core/Cache/BackendChain.php Marks cache items with any of the specified tags as invalid.
BlockContent::invalidateBlockPluginCache function core/modules/block_content/src/Entity/BlockContent.php Invalidates the block plugin cache after changes and deletions.
Cache::invalidateTags function core/lib/Drupal/Core/Cache/Cache.php Marks cache items from all bins with any of the specified tags as invalid.
CacheBackendInterface::invalidate function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Marks a cache item as invalid.
CacheBackendInterface::invalidateAll function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Marks all cache items as invalid.
CacheBackendInterface::invalidateMultiple function core/lib/Drupal/Core/Cache/CacheBackendInterface.php Marks cache items as invalid.
CacheCollector::$cacheInvalidated property core/lib/Drupal/Core/Cache/CacheCollector.php Flag that indicates of the cache has been invalidated.
CacheCollector::invalidateCache function core/lib/Drupal/Core/Cache/CacheCollector.php Invalidate the cache.
CacheCollectorTest::testUpdateCacheInvalidatedConflict function core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php Tests updating the cache when there is a conflict after cache invalidation.
CacheTagsChecksumTrait::$invalidatedTags property core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php A list of tags that have already been invalidated in this request.
CacheTagsChecksumTrait::doInvalidateTags function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Marks cache items with any of the specified tags as invalid.
CacheTagsChecksumTrait::invalidateTags function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::invalidateTags()
CacheTagsInvalidator::invalidateTags function core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Marks cache items with any of the specified tags as invalid.
CacheTagsInvalidatorInterface::invalidateTags function core/lib/Drupal/Core/Cache/CacheTagsInvalidatorInterface.php Marks cache items with any of the specified tags as invalid.
CacheTagsInvalidatorTest::testInvalidateTags function core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @covers ::invalidateTags
@covers ::addInvalidator
CacheTagsInvalidatorTest::testInvalidateTagsWithInvalidTags function core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @covers ::invalidateTags
ChainedFastBackend::invalidate function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks a cache item as invalid.
ChainedFastBackend::invalidateAll function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks all cache items as invalid.
ChainedFastBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks cache items as invalid.
ChainedFastBackend::invalidateTags function core/lib/Drupal/Core/Cache/ChainedFastBackend.php Marks cache items with any of the specified tags as invalid.
ConfigEntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Returns the cache tags that should be used to invalidate caches.
ConfigEntityBase::invalidateTagsOnDelete function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Override to never invalidate the individual entities' cache tags; the
config system already invalidates them.
ConfigEntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Override to never invalidate the entity's cache tag; the config system
already invalidates it.
DatabaseBackend::invalidate function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks a cache item as invalid.
DatabaseBackend::invalidateAll function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks all cache items as invalid.
DatabaseBackend::invalidateMultiple function core/lib/Drupal/Core/Cache/DatabaseBackend.php Marks cache items as invalid.
DatabaseCacheTagsChecksum::doInvalidateTags function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Marks cache items with any of the specified tags as invalid.
DateFormat::getCacheTagsToInvalidate function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Returns the cache tags that should be used to invalidate caches.
DrupalKernel::invalidateContainer function core/lib/Drupal/Core/DrupalKernel.php Invalidate the service container for the next request.
DrupalKernelInterface::invalidateContainer function core/lib/Drupal/Core/DrupalKernelInterface.php Invalidate the service container for the next request.
EntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php Returns the cache tags that should be used to invalidate caches.
EntityBase::getListCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityBase.php The list cache tags to invalidate for this entity.
EntityBase::invalidateTagsOnDelete function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon delete.
EntityBase::invalidateTagsOnSave function core/lib/Drupal/Core/Entity/EntityBase.php Invalidates an entity's cache tags upon save.
EntityDisplayTest::testEntityDisplayInvalidateCacheTags function core/modules/field_ui/tests/src/Kernel/EntityDisplayTest.php Ensure that entity view display changes invalidates cache tags.
EntityInterface::getCacheTagsToInvalidate function core/lib/Drupal/Core/Entity/EntityInterface.php Returns the cache tags that should be used to invalidate caches.
GenericCacheBackendUnitTestBase::testInvalidate function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Test Drupal\Core\Cache\CacheBackendInterface::invalidate() and
Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
GenericCacheBackendUnitTestBase::testInvalidate function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Test Drupal\Core\Cache\CacheBackendInterface::invalidate() and
Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple().
GenericCacheBackendUnitTestBase::testInvalidateAll function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Test Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
GenericCacheBackendUnitTestBase::testInvalidateAll function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Test Drupal\Core\Cache\CacheBackendInterface::invalidateAll().
GenericCacheBackendUnitTestBase::testInvalidateTags function core/modules/system/src/Tests/Cache/GenericCacheBackendUnitTestBase.php Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
GenericCacheBackendUnitTestBase::testInvalidateTags function core/tests/Drupal/KernelTests/Core/Cache/GenericCacheBackendUnitTestBase.php Tests Drupal\Core\Cache\CacheBackendInterface::invalidateTags().
hook_views_invalidate_cache function core/modules/views/views.api.php Allow modules to respond to the invalidation of the Views cache.
Item::getCacheTagsToInvalidate function core/modules/aggregator/src/Entity/Item.php Returns the cache tags that should be used to invalidate caches.

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