You are here

public function MemcacheBackend::invalidateAll in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 modules/memcache/src/MemcacheBackend.php \Drupal\memcache\MemcacheBackend::invalidateAll()

Marks all cache items as invalid.

Invalid items may be returned in later calls to get(), if the $allow_invalid argument is TRUE.

Overrides CacheBackendInterface::invalidateAll

See also

\Drupal\Core\Cache\CacheBackendInterface::deleteAll()

\Drupal\Core\Cache\CacheBackendInterface::invalidate()

\Drupal\Core\Cache\CacheBackendInterface::invalidateMultiple()

1 call to MemcacheBackend::invalidateAll()
MemcacheBackend::deleteAll in modules/memcache/src/MemcacheBackend.php
Deletes all cache items in a bin.

File

modules/memcache/src/MemcacheBackend.php, line 263
Contains \Drupal\memcache\MemcacheBackend.

Class

MemcacheBackend
Defines a Memcache cache backend.

Namespace

Drupal\memcache

Code

public function invalidateAll() {
  $this->memcache
    ->flush();
}