You are here

public function PermanentRedisBackend::deleteAll in Permanent Cache Bin 8.2

Same name and namespace in other branches
  1. 8 modules/pcb_redis/src/Cache/PermanentRedisBackend.php \Drupal\pcb_redis\Cache\PermanentRedisBackend::deleteAll()

Deletes all cache items in a bin.

Overrides CacheBase::deleteAll

See also

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

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

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

File

modules/pcb_redis/src/Cache/PermanentRedisBackend.php, line 17

Class

PermanentRedisBackend
Defines a permanent Redis cache implementation.

Namespace

Drupal\pcb_redis\Cache

Code

public function deleteAll() {

  // This cache doesn't need to be deleted when doing cache rebuild.
  // We do nothing here.
}