function helper_drush_cache_clear in Helper 7
Implements hook_drush_cache_clear().
File
- ./
helper.drush.inc, line 11 - Drush integration for the Helper module.
Code
function helper_drush_cache_clear(&$types) {
$types['bootstrap'] = 'helper_drush_cache_clear_bootstrap';
// @todo Remove when http://drupal.org/node/1899468 is fixed.
if (drush_has_boostrapped(DRUSH_BOOTSTRAP_DRUPAL_FULL)) {
$types['entity'] = 'helper_drush_cache_clear_entity';
$types['field'] = 'field_cache_clear';
if (function_exists('module_exists') && module_exists('migrate')) {
$types['migrate'] = 'helper_drush_cache_clear_migrate';
}
if (function_exists('module_exists') && module_exists('views')) {
$types['views'] = 'views_invalidate_cache';
}
if (function_exists('module_exists') && module_exists('simpletest')) {
$types['simpletest'] = 'simpletest_clean_environment';
}
}
}