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 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/tests/src/Functional/Cache/AssertPageCacheContextsAndTagsTrait.php Ensures that some cache tags are present in the current response.
BlockContentCacheTagsTest class core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php Tests the Content Block entity's cache tags.
BlockContentCacheTagsTest.php file core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
BlockContentCacheTagsTest::$defaultTheme property core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php The theme to install as the default for testing.
BlockContentCacheTagsTest::$modules property core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php Modules to install.
BlockContentCacheTagsTest::createEntity function core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php Creates the entity to be tested.
BlockContentCacheTagsTest::getAccessCacheContextsForEntity function core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php
BlockContentCacheTagsTest::getAdditionalCacheTagsForEntity function core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php Each comment must have a comment body, which always has a text format.
BlockContentCacheTagsTest::testBlock function core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php Tests that the block is cached with the correct contexts and tags.
BlockContentResourceTestBase::getExpectedCacheTags function core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
BlockPageVariant::$blockListCacheTags property core/modules/block/src/Plugin/DisplayVariant/BlockPageVariant.php The Block entity type list cache tags.
BlockResourceTestBase::getExpectedCacheTags function core/modules/block/tests/src/Functional/Rest/BlockResourceTestBase.php The expected cache tags for the GET/HEAD response of the test entity.
BlockTest::testBlockCacheTags function core/modules/block/tests/src/Functional/BlockTest.php Tests that cache tags are properly set and bubbled up to the page cache.
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::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.
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()

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