You are here

public function MemcacheBackend::invalidateTags in Memcache API and Integration 8.2

1 call to MemcacheBackend::invalidateTags()
MemcacheBackend::invalidateAll in src/MemcacheBackend.php
Marks all cache items as invalid.

File

src/MemcacheBackend.php, line 388

Class

MemcacheBackend
Defines a Memcache cache backend.

Namespace

Drupal\memcache

Code

public function invalidateTags(array $tags) {
  if ($this
    ->debug()) {
    $this
      ->getLogger('memcache')
      ->debug('Called invalidateTags() on tags @tags', [
      '@tags' => implode(',', $tags),
    ]);
  }
  $this->checksumProvider
    ->invalidateTags($tags);
}