1 cache.inc cache_flush($bin)

Flushes all cache items in a bin.

Parameters

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

File

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

Code

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