function ChainedFastBackend::invalidateTags
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/ChainedFastBackend.php \Drupal\Core\Cache\ChainedFastBackend::invalidateTags()
- 8.9.x core/lib/Drupal/Core/Cache/ChainedFastBackend.php \Drupal\Core\Cache\ChainedFastBackend::invalidateTags()
- 10 core/lib/Drupal/Core/Cache/ChainedFastBackend.php \Drupal\Core\Cache\ChainedFastBackend::invalidateTags()
Overrides CacheTagsInvalidatorInterface::invalidateTags
File
-
core/
lib/ Drupal/ Core/ Cache/ ChainedFastBackend.php, line 236
Class
- ChainedFastBackend
- Defines a backend with a fast and a consistent backend chain.
Namespace
Drupal\Core\CacheCode
public function invalidateTags(array $tags) {
if ($this->consistentBackend instanceof CacheTagsInvalidatorInterface) {
$this->consistentBackend
->invalidateTags($tags);
}
if ($this->fastBackend instanceof CacheTagsInvalidatorInterface) {
$this->fastBackend
->invalidateTags($tags);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.