public function CacheBackendWrapper::invalidateTags in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::invalidateTags()
- 8 webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::invalidateTags()
- 4.x webprofiler/src/Cache/CacheBackendWrapper.php \Drupal\webprofiler\Cache\CacheBackendWrapper::invalidateTags()
Marks cache items with any of the specified tags as invalid.
Parameters
string[] $tags: The list of tags for which to invalidate cache items.
Overrides CacheTagsInvalidatorInterface::invalidateTags
File
- webprofiler/
src/ Cache/ CacheBackendWrapper.php, line 149
Class
- CacheBackendWrapper
- Wraps an existing cache backend to track calls to the cache backend.
Namespace
Drupal\webprofiler\CacheCode
public function invalidateTags(array $tags) {
if ($this->cacheBackend instanceof CacheTagsInvalidatorInterface) {
$this->cacheBackend
->invalidateTags($tags);
}
}