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
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]]
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.
CacheTagsChecksumDecorator class core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Wraps an existing cache tags checksum invalidator to track calls separately.
CacheTagsChecksumDecorator.php file core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php
CacheTagsChecksumDecorator::getCurrentChecksum function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Returns the sum total of validations for a given set of tags.
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.
CacheTagsChecksumDecorator::isValid function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Returns whether the checksum is valid for the given cache tags.
CacheTagsChecksumDecorator::logCacheTagOperation function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Logs a cache tag operation.
CacheTagsChecksumDecorator::registerCacheTagsForPreload function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Register cache tags for preloading.
CacheTagsChecksumDecorator::reset function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php Reset statically cached tags.
CacheTagsChecksumDecorator::__construct function core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php
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.
CacheTagsChecksumPreloadInterface interface core/lib/Drupal/Core/Cache/CacheTagsChecksumPreloadInterface.php Registers cache tags for preloading.
CacheTagsChecksumPreloadInterface.php file core/lib/Drupal/Core/Cache/CacheTagsChecksumPreloadInterface.php
CacheTagsChecksumPreloadInterface::registerCacheTagsForPreload function core/lib/Drupal/Core/Cache/CacheTagsChecksumPreloadInterface.php Register cache tags for preloading.
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::$preloadTags property core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Registered cache tags to preload.
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::registerCacheTagsForPreload function core/lib/Drupal/Core/Cache/CacheTagsChecksumTrait.php Implements \Drupal\Core\Cache\CacheTagsChecksumPreloadInterface::registerCacheTagsForPreload()
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.

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