function drush_cache_clear_types

8.0.x cache.drush.inc drush_cache_clear_types($include_bootstrapped_types = FALSE)
6.x cache.drush.inc drush_cache_clear_types($include_bootstraped_types = FALSE)
7.x cache.drush.inc drush_cache_clear_types($include_bootstrapped_types = FALSE)
3.x clear.cache.inc drush_cache_clear_types()
4.x cache.drush.inc drush_cache_clear_types()
5.x cache.drush.inc drush_cache_clear_types($include_bootstraped_types = FALSE)
master cache.drush.inc drush_cache_clear_types($include_bootstrapped_types = FALSE)
1 call to drush_cache_clear_types()
drush_core_cache_clear in commands/core/clear.cache.inc
Command callback for drush cache-clear.

File

commands/core/clear.cache.inc, line 39

Code

function drush_cache_clear_types() {
  $types = array(
    'all' => 'drupal_flush_all_caches',
    'theme' => 'drush_cache_clear_theme_registry',
    'menu' => 'menu_rebuild',
    'css+js' => 'drush_cache_clear_css_js',
  );
  if (count(module_implements('node_grants'))) {
    $types['nodeaccess'] = 'node_access_rebuild';
  }
  return $types;
}