Search for cacheTags

  1. Search 7.x for cacheTags
  2. Search 8.9.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
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::$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
@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
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.
ColorConfigCacheInvalidator::$cacheTagsInvalidator property core/modules/color/src/EventSubscriber/ColorConfigCacheInvalidator.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.
ConfigBase::getCacheTags function core/lib/Drupal/Core/Config/ConfigBase.php The cache tags associated with this object.
ConfigCacheTag::$cacheTagsInvalidator property core/modules/system/src/EventSubscriber/ConfigCacheTag.php The cache tags invalidator.
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.
ConfigFactoryTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/ConfigFactoryTest.php The mocked cache tags invalidator.
ConfigTest::$cacheTagsInvalidator property core/tests/Drupal/Tests/Core/Config/ConfigTest.php The mocked cache tags invalidator.

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