Search for cacheTags

  1. Search 7.x for cacheTags
  2. Search 9.5.x for cacheTags
  3. Search 10.3.x for cacheTags
  4. Search 11.x for cacheTags
  5. Other projects
Title Object type File name Summary
AccessResult::getCacheTags function core/lib/Drupal/Core/Access/AccessResult.php The cache tags associated with this object.
AccessResult::resetCacheTags function core/lib/Drupal/Core/Access/AccessResult.php Resets cache tags (to the empty array).
AccessResultTest::testCacheTags function core/tests/Drupal/Tests/Core/Access/AccessResultTest.php @covers ::addCacheTags[[api-linebreak]]
@covers ::addCacheableDependency[[api-linebreak]]
@covers ::getCacheTags[[api-linebreak]]
@covers ::resetCacheTags[[api-linebreak]]
AssertPageCacheContextsAndTagsTrait::assertCacheTags function core/modules/system/src/Tests/Cache/AssertPageCacheContextsAndTagsTrait.php Ensures that some cache tags are present in the current response.
AssertPageCacheContextsAndTagsTrait::debugCacheTags function core/modules/system/src/Tests/Cache/AssertPageCacheContextsAndTagsTrait.php Provides debug information for cache tags.
CacheableDependencyInterface::getCacheTags function core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php The cache tags associated with this object.
CacheableDependencyTrait::$cacheTags property core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php Cache tags.
CacheableDependencyTrait::getCacheTags function core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php
CacheableMetadata::getCacheTags function core/lib/Drupal/Core/Cache/CacheableMetadata.php The cache tags associated with this object.
CacheableMetadata::setCacheTags function core/lib/Drupal/Core/Cache/CacheableMetadata.php Sets cache tags.
CacheableMetadataTest::testAddCacheTags function core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php This delegates to Cache::mergeTags(), so just a basic test.
CacheCollectorTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Cache/CacheCollectorTest.php The cache tags invalidator.
CacheTagsChecksumInterface interface core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php Provides checksums for cache tag invalidations.
CacheTagsChecksumInterface.php file core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php
CacheTagsChecksumInterface::getCurrentChecksum function core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php Returns the sum total of validations for a given set of tags.
CacheTagsChecksumInterface::INVALID_CHECKSUM_WHILE_IN_TRANSACTION constant core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php The invalid checksum returned if a database transaction is in progress.
CacheTagsChecksumInterface::isValid function core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php Returns whether the checksum is valid for the given cache tags.
CacheTagsChecksumInterface::reset function core/lib/Drupal/Core/Cache/CacheTagsChecksumInterface.php Reset statically cached tags.
CacheTagsChecksumTrait trait core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php A trait for cache tag checksum implementations.
CacheTagsChecksumTrait.php file core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php
CacheTagsChecksumTrait::$delayedTags property core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php The set of cache tags whose invalidation is delayed.
CacheTagsChecksumTrait::$invalidatedTags property core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php A list of tags that have already been invalidated in this request.
CacheTagsChecksumTrait::$tagCache property core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Contains already loaded tag invalidation counts from the storage.
CacheTagsChecksumTrait::calculateChecksum function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Calculates the current checksum for a given set of tags.
CacheTagsChecksumTrait::doInvalidateTags function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Marks cache items with any of the specified tags as invalid.
CacheTagsChecksumTrait::getCurrentChecksum function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::getCurrentChecksum()
CacheTagsChecksumTrait::getDatabaseConnection function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Returns the database connection.
CacheTagsChecksumTrait::getTagInvalidationCounts function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Fetches invalidation counts for cache tags.
CacheTagsChecksumTrait::invalidateTags function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::invalidateTags()
CacheTagsChecksumTrait::isValid function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::isValid()
CacheTagsChecksumTrait::reset function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::reset()
CacheTagsChecksumTrait::rootTransactionEndCallback function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Callback to be invoked just after a database transaction gets committed.
CacheTagsInvalidator class core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Passes cache tag events to classes that wish to respond to them.
CacheTagsInvalidator.php file core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php
CacheTagsInvalidator::$invalidators property core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Holds an array of cache tags invalidators.
CacheTagsInvalidator::addInvalidator function core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Adds a cache tags invalidator.
CacheTagsInvalidator::getInvalidatorCacheBins function core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Returns all cache bins that need to be notified about invalidations.
CacheTagsInvalidator::invalidateTags function core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Marks cache items with any of the specified tags as invalid.
CacheTagsInvalidator::resetChecksums function core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Reset statically cached tags in all cache tag checksum services.
CacheTagsInvalidatorInterface interface core/lib/Drupal/Core/Cache/CacheTagsInvalidatorInterface.php Defines required methods for classes wanting to handle cache tag changes.
CacheTagsInvalidatorInterface.php file core/lib/Drupal/Core/Cache/CacheTagsInvalidatorInterface.php
CacheTagsInvalidatorInterface::invalidateTags function core/lib/Drupal/Core/Cache/CacheTagsInvalidatorInterface.php Marks cache items with any of the specified tags as invalid.
CacheTagsInvalidatorTest class core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @coversDefaultClass \Drupal\Core\Cache\CacheTagsInvalidator[[api-linebreak]]
@group Cache
CacheTagsInvalidatorTest.php file core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php
CacheTagsInvalidatorTest::testInvalidateTags function core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @covers ::invalidateTags[[api-linebreak]]
@covers ::addInvalidator[[api-linebreak]]
CacheTagsInvalidatorTest::testInvalidateTagsWithInvalidTags function core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @covers ::invalidateTags[[api-linebreak]]
ConfigBase::getCacheTags function core/lib/Drupal/Core/Config/ConfigBase.php The cache tags associated with this object.
ConfigEntityBase::getCacheTagsToInvalidate function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Returns the cache tags that should be used to invalidate caches.
ConfigEntityBaseUnitTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php The mocked cache backend.
ConfigEntityStorageTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php The mocked cache backend.

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