CacheTagsChecksumPreloadInterface.php
Same filename and directory in other branches
Namespace
Drupal\Core\CacheFile
-
core/
lib/ Drupal/ Core/ Cache/ CacheTagsChecksumPreloadInterface.php
View source
<?php
namespace Drupal\Core\Cache;
/**
* Registers cache tags for preloading.
*
* Implementations of \Drupal\Core\Cache\CacheTagsChecksumInterface that
* support this interface will fetch registered cache tags on the next
* lookup.
*
* @see \Drupal\Core\Cache\EventSubscriber\CacheTagPreloadSubscriber
*/
interface CacheTagsChecksumPreloadInterface {
/**
* Register cache tags for preloading.
*
* @param array $cache_tags
* List of cache tags to load.
*/
public function registerCacheTagsForPreload(array $cache_tags) : void;
}
Interfaces
| Title | Deprecated | Summary |
|---|---|---|
| CacheTagsChecksumPreloadInterface | Registers cache tags for preloading. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.