You are here

public function PermanentDatabaseBackend::deleteAll in Permanent Cache Bin 8.2

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

Deletes all cache items in a bin.

Overrides DatabaseBackend::deleteAll

See also

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

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

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

File

src/Cache/PermanentDatabaseBackend.php, line 23

Class

PermanentDatabaseBackend
Defines a permanent database cache implementation.

Namespace

Drupal\pcb\Cache

Code

public function deleteAll() {

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