1.20.x cache.inc cache_flush(string $bin)

Flushes all cache items in a bin.

Parameters

string $bin: The bin whose data should be emptied.

File

includes/cache.inc, line 140
Functions and interfaces for cache handling.

Code

function cache_flush(string $bin) {
  return cache($bin)->flush();
}