interface CacheTagsPurgeInterface
Provides purging of cache tag invalidations.
Backends that persistently store cache tag invalidations can use this interface to implement purging of cache tag invalidations. By default, cache tag purging will only be called during drupal_flush_all_caches(), after all other caches have been cleared.
Hierarchy
- interface \Drupal\Core\Cache\CacheTagsPurgeInterface
Expanded class hierarchy of CacheTagsPurgeInterface
All classes that implement CacheTagsPurgeInterface
Related topics
2 files declare their use of CacheTagsPurgeInterface
- common.inc in core/
includes/ common.inc - Common functions that many Drupal modules will need to reference.
- DatabaseBackendTagTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Cache/ DatabaseBackendTagTest.php
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheTagsPurgeInterface.php, line 17
Namespace
Drupal\Core\CacheView source
interface CacheTagsPurgeInterface {
/**
* Purge cache tag invalidations.
*/
public function purge() : void;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
CacheTagsPurgeInterface::purge | public | function | Purge cache tag invalidations. | 2 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.