Search for cacheTags
- Search 7.x for cacheTags
- Search 9.5.x for cacheTags
- Search 8.9.x for cacheTags
- Search 11.x for cacheTags
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
AccessResult::getCacheTags | function | core/ |
The cache tags associated with this object. |
AccessResult::resetCacheTags | function | core/ |
Resets cache tags (to the empty array). |
AccessResultTest::testCacheTags | function | core/ |
@covers ::addCacheTags[[api-linebreak]] @covers ::addCacheableDependency[[api-linebreak]] @covers ::getCacheTags[[api-linebreak]] @covers ::resetCacheTags[[api-linebreak]] |
AssertPageCacheContextsAndTagsTrait::assertCacheTags | function | core/ |
Ensures that some cache tags are present in the current response. |
BlockContentCacheTagsTest | class | core/ |
Tests the Content Block entity's cache tags. |
BlockContentCacheTagsTest.php | file | core/ |
|
BlockContentCacheTagsTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
BlockContentCacheTagsTest::$modules | property | core/ |
Modules to install. |
BlockContentCacheTagsTest::createEntity | function | core/ |
Creates the entity to be tested. |
BlockContentCacheTagsTest::getAccessCacheContextsForEntity | function | core/ |
|
BlockContentCacheTagsTest::getAdditionalCacheTagsForEntity | function | core/ |
Each comment must have a comment body, which always has a text format. |
BlockContentCacheTagsTest::testBlock | function | core/ |
Tests that the block is cached with the correct contexts and tags. |
BlockContentResourceTestBase::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
BlockPageVariant::$blockListCacheTags | property | core/ |
The Block entity type list cache tags. |
BlockResourceTestBase::getExpectedCacheTags | function | core/ |
The expected cache tags for the GET/HEAD response of the test entity. |
BlockTest::testBlockCacheTags | function | core/ |
Tests that cache tags are properly set and bubbled up to the page cache. |
CacheableDependencyInterface::getCacheTags | function | core/ |
The cache tags associated with this object. |
CacheableDependencyTrait::$cacheTags | property | core/ |
Cache tags. |
CacheableDependencyTrait::getCacheTags | function | core/ |
|
CacheableMetadata::getCacheTags | function | core/ |
The cache tags associated with this object. |
CacheableMetadata::setCacheTags | function | core/ |
Sets cache tags. |
CacheableMetadataTest::testAddCacheTags | function | core/ |
This delegates to Cache::mergeTags(), so just a basic test. |
CacheCollectorTest::$cacheTagsInvalidator | property | core/ |
The cache tags invalidator. |
CacheTagsChecksumDecorator | class | core/ |
Wraps an existing cache tags checksum invalidator to track calls separately. |
CacheTagsChecksumDecorator.php | file | core/ |
|
CacheTagsChecksumDecorator::getCurrentChecksum | function | core/ |
Returns the sum total of validations for a given set of tags. |
CacheTagsChecksumDecorator::invalidateTags | function | core/ |
Marks cache items with any of the specified tags as invalid. |
CacheTagsChecksumDecorator::isValid | function | core/ |
Returns whether the checksum is valid for the given cache tags. |
CacheTagsChecksumDecorator::logCacheTagOperation | function | core/ |
Logs a cache tag operation. |
CacheTagsChecksumDecorator::reset | function | core/ |
Reset statically cached tags. |
CacheTagsChecksumDecorator::__construct | function | core/ |
|
CacheTagsChecksumInterface | interface | core/ |
Provides checksums for cache tag invalidations. |
CacheTagsChecksumInterface.php | file | core/ |
|
CacheTagsChecksumInterface::getCurrentChecksum | function | core/ |
Returns the sum total of validations for a given set of tags. |
CacheTagsChecksumInterface::INVALID_CHECKSUM_WHILE_IN_TRANSACTION | constant | core/ |
The invalid checksum returned if a database transaction is in progress. |
CacheTagsChecksumInterface::isValid | function | core/ |
Returns whether the checksum is valid for the given cache tags. |
CacheTagsChecksumInterface::reset | function | core/ |
Reset statically cached tags. |
CacheTagsChecksumTrait | trait | core/ |
A trait for cache tag checksum implementations. |
CacheTagsChecksumTrait.php | file | core/ |
|
CacheTagsChecksumTrait::$delayedTags | property | core/ |
The set of cache tags whose invalidation is delayed. |
CacheTagsChecksumTrait::$invalidatedTags | property | core/ |
A list of tags that have already been invalidated in this request. |
CacheTagsChecksumTrait::$tagCache | property | core/ |
Contains already loaded tag invalidation counts from the storage. |
CacheTagsChecksumTrait::calculateChecksum | function | core/ |
Calculates the current checksum for a given set of tags. |
CacheTagsChecksumTrait::doInvalidateTags | function | core/ |
Marks cache items with any of the specified tags as invalid. |
CacheTagsChecksumTrait::getCurrentChecksum | function | core/ |
Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::getCurrentChecksum() |
CacheTagsChecksumTrait::getDatabaseConnection | function | core/ |
Returns the database connection. |
CacheTagsChecksumTrait::getTagInvalidationCounts | function | core/ |
Fetches invalidation counts for cache tags. |
CacheTagsChecksumTrait::invalidateTags | function | core/ |
Implements \Drupal\Core\Cache\CacheTagsInvalidatorInterface::invalidateTags() |
CacheTagsChecksumTrait::isValid | function | core/ |
Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::isValid() |
CacheTagsChecksumTrait::reset | function | core/ |
Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::reset() |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.