Search for cacheTags

  1. Search 7.x for cacheTags
  2. Search 9.5.x for cacheTags
  3. Search 8.9.x for cacheTags
  4. Search 10.3.x for cacheTags
  5. Other projects
Title Object type File name Summary
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\CacheTagsInvalidatorInterface::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::$bins property core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Holds an array of cache bins that support invalidations.
CacheTagsInvalidator::$invalidators property core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Holds an array of cache tags invalidators.
CacheTagsInvalidator::addBin function core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Adds a cache bin.
CacheTagsInvalidator::addInvalidator function core/lib/Drupal/Core/Cache/CacheTagsInvalidator.php Adds a cache tags invalidator.
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
@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
@covers ::addInvalidator
@covers ::addBin
CacheTagsInvalidatorTest::testInvalidateTagsWithInvalidTags function core/tests/Drupal/Tests/Core/Cache/CacheTagsInvalidatorTest.php @covers ::invalidateTags
CKEditor5CacheTag::$cacheTagsInvalidator property core/modules/ckeditor5/src/EventSubscriber/CKEditor5CacheTag.php The cache tags invalidator.
CommentCacheTagsTest class core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Tests the Comment entity's cache tags.
CommentCacheTagsTest.php file core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
CommentCacheTagsTest::$defaultTheme property core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php The theme to install as the default for testing.
CommentCacheTagsTest::$entityTestCamelid property core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
CommentCacheTagsTest::$entityTestHippopotamidae property core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
CommentCacheTagsTest::$modules property core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Modules to enable.
CommentCacheTagsTest::createEntity function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Creates the entity to be tested.
CommentCacheTagsTest::getAdditionalCacheContextsForEntity function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Returns the additional (non-standard) cache contexts for the tested entity.
CommentCacheTagsTest::getAdditionalCacheTagsForEntity function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Each comment must have a comment body, which always has a text format.
CommentCacheTagsTest::getDefaultCacheContexts function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Gets the default cache contexts for rendered entities.
CommentCacheTagsTest::setUp function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php
CommentCacheTagsTest::testCommentEntity function core/modules/comment/tests/src/Functional/CommentCacheTagsTest.php Tests that comments invalidate the cache tag of their host entity.
CommentDefaultFormatterCacheTagsTest class core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php Tests comment cache tag bubbling up when using the Comment list formatter.
CommentDefaultFormatterCacheTagsTest.php file core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
CommentDefaultFormatterCacheTagsTest::$modules property core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php Modules to install.
CommentDefaultFormatterCacheTagsTest::setUp function core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php
CommentDefaultFormatterCacheTagsTest::testCacheTags function core/modules/comment/tests/src/Kernel/CommentDefaultFormatterCacheTagsTest.php Tests the bubbling of cache tags.
CommentResourceTestBase::getExpectedCacheTags function core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
CommentTest::getExpectedCacheTags function core/modules/jsonapi/tests/src/Functional/CommentTest.php The expected cache tags for the GET/HEAD response of the test entity.
ComputedString::getCacheTags function core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php The cache tags associated with this object.

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