public function CacheBackendDecorator::invalidateMultiple in Multiversion 8
Marks cache items as invalid.
Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE.
Parameters
string[] $cids: An array of cache IDs to invalidate.
Overrides CacheBackendInterface::invalidateMultiple
See also
\Drupal\Core\Cache\CacheBackendInterface::deleteMultiple()
\Drupal\Core\Cache\CacheBackendInterface::invalidate()
\Drupal\Core\Cache\CacheBackendInterface::invalidateAll()
File
- src/
CacheBackendDecorator.php, line 116
Class
Namespace
Drupal\multiversionCode
public function invalidateMultiple(array $cids) {
foreach ($cids as &$cid) {
$cid = $this
->decorate($cid);
}
return $this->decorated
->invalidateMultiple($cids);
}