function CacheTagsChecksumDecorator::registerCacheTagsForPreload
Same name and namespace in other branches
- 11.x core/modules/system/tests/modules/performance_test/src/Cache/CacheTagsChecksumDecorator.php \Drupal\performance_test\Cache\CacheTagsChecksumDecorator::registerCacheTagsForPreload()
Register cache tags for preloading.
Parameters
array $cache_tags: List of cache tags to load.
Overrides CacheTagsChecksumPreloadInterface::registerCacheTagsForPreload
File
-
core/
modules/ system/ tests/ modules/ performance_test/ src/ Cache/ CacheTagsChecksumDecorator.php, line 78
Class
- CacheTagsChecksumDecorator
- Wraps an existing cache tags checksum invalidator to track calls separately.
Namespace
Drupal\performance_test\CacheCode
public function registerCacheTagsForPreload(array $cache_tags) : void {
$this->checksumInvalidator
->registerCacheTagsForPreload($cache_tags);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.