You are here

function drush_pcb_permanent_cache_bin_list in Permanent Cache Bin 8

Same name and namespace in other branches
  1. 8.2 pcb.drush.inc \drush_pcb_permanent_cache_bin_list()

Implements drush permanent cache bin flush command.

File

./pcb.drush.inc, line 52
Provides drush commands for pcb.

Code

function drush_pcb_permanent_cache_bin_list() {
  $bins = Cache::getBins();
  foreach ($bins as $bin => $object) {
    if (method_exists($object, 'deleteAllPermanent')) {
      drush_print($bin);
    }
  }
}