You are here

public function VarnishBackend::deleteAll in Varnish 8

Deletes all cache items in a bin.

Overrides CacheBackendInterface::deleteAll

See also

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

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

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

File

src/Cache/VarnishBackend.php, line 84

Class

VarnishBackend

Namespace

Drupal\varnish\Cache

Code

public function deleteAll() {
  $test = 'test';
}