Search for cacheTags
- Search 7.x for cacheTags
- Search 9.5.x for cacheTags
- Search 10.3.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. |
AssertPageCacheContextsAndTagsTrait::debugCacheTags | function | core/ |
Provides debug information for cache tags. |
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. |
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\CacheTagsChecksumInterface::invalidateTags() |
CacheTagsChecksumTrait::isValid | function | core/ |
Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::isValid() |
CacheTagsChecksumTrait::reset | function | core/ |
Implements \Drupal\Core\Cache\CacheTagsChecksumInterface::reset() |
CacheTagsChecksumTrait::rootTransactionEndCallback | function | core/ |
Callback to be invoked just after a database transaction gets committed. |
CacheTagsInvalidator | class | core/ |
Passes cache tag events to classes that wish to respond to them. |
CacheTagsInvalidator.php | file | core/ |
|
CacheTagsInvalidator::$invalidators | property | core/ |
Holds an array of cache tags invalidators. |
CacheTagsInvalidator::addInvalidator | function | core/ |
Adds a cache tags invalidator. |
CacheTagsInvalidator::getInvalidatorCacheBins | function | core/ |
Returns all cache bins that need to be notified about invalidations. |
CacheTagsInvalidator::invalidateTags | function | core/ |
Marks cache items with any of the specified tags as invalid. |
CacheTagsInvalidator::resetChecksums | function | core/ |
Reset statically cached tags in all cache tag checksum services. |
CacheTagsInvalidatorInterface | interface | core/ |
Defines required methods for classes wanting to handle cache tag changes. |
CacheTagsInvalidatorInterface.php | file | core/ |
|
CacheTagsInvalidatorInterface::invalidateTags | function | core/ |
Marks cache items with any of the specified tags as invalid. |
CacheTagsInvalidatorTest | class | core/ |
@coversDefaultClass \Drupal\Core\Cache\CacheTagsInvalidator[[api-linebreak]] @group Cache |
CacheTagsInvalidatorTest.php | file | core/ |
|
CacheTagsInvalidatorTest::testInvalidateTags | function | core/ |
@covers ::invalidateTags[[api-linebreak]] @covers ::addInvalidator[[api-linebreak]] |
CacheTagsInvalidatorTest::testInvalidateTagsWithInvalidTags | function | core/ |
@covers ::invalidateTags[[api-linebreak]] |
ConfigBase::getCacheTags | function | core/ |
The cache tags associated with this object. |
ConfigEntityBase::getCacheTagsToInvalidate | function | core/ |
Returns the cache tags that should be used to invalidate caches. |
ConfigEntityBaseUnitTest::$cacheTagsInvalidator | property | core/ |
The mocked cache backend. |
ConfigEntityStorageTest::$cacheTagsInvalidator | property | core/ |
The mocked cache backend. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.