Search for invalidate

  1. Search 7.x for invalidate
  2. Search 9.5.x for invalidate
  3. Search 8.9.x for invalidate
  4. Search 10.3.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.
CacheBackendDecorator::invalidate function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks a cache item as invalid.
CacheBackendDecorator::invalidateAll function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks all cache items as invalid.
CacheBackendDecorator::invalidateMultiple function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks cache items as invalid.
CacheBackendDecorator::invalidateTags function core/modules/system/tests/modules/performance_test/src/Cache/CacheBackendDecorator.php Marks cache items 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.
CacheTagsChecksumDecorator::invalidateTags function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Marks cache items with any of the specified tags as invalid.
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\CacheTagsInvalidatorInterface::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
@covers ::addBin
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.
ComposerInspector::invalidateCacheIfNeeded function core/modules/package_manager/src/ComposerInspector.php Invalidates cached data if composer.json or composer.lock have changed.
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.
ExtraFieldBlockCacheTagInvalidator::invalidateTags function core/modules/layout_builder/src/Cache/ExtraFieldBlockCacheTagInvalidator.php Marks cache items with any of the specified tags as invalid.
File::invalidateTagsOnSave function core/modules/file/src/Entity/File.php Invalidates an entity's cache tags upon save.

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