You are here

function entitycache_flush_caches in Entity cache 7

Implements hook_flush_caches().

File

./entitycache.module, line 22
Allows for caching of core entities.

Code

function entitycache_flush_caches() {
  $bins = array();
  $entities = entitycache_supported_core_entities(TRUE);
  foreach (array_keys($entities) as $type) {
    $bins[] = 'cache_entity_' . $type;
  }
  return $bins;
}