function drush_cache_clear_theme_registry

8.0.x cache_8.inc drush_cache_clear_theme_registry()
8.0.x cache.inc drush_cache_clear_theme_registry()
6.x cache.drush.inc drush_cache_clear_theme_registry()
7.x cache_8.inc drush_cache_clear_theme_registry()
7.x cache.inc drush_cache_clear_theme_registry()
3.x clear.cache.inc drush_cache_clear_theme_registry()
4.x cache.drush.inc drush_cache_clear_theme_registry()
5.x cache.drush.inc drush_cache_clear_theme_registry()
master cache_8.inc drush_cache_clear_theme_registry()
master cache.inc drush_cache_clear_theme_registry()
2 string references to 'drush_cache_clear_theme_registry'
_drush_cache_clear_types in commands/core/drupal/cache_8.inc
_drush_cache_clear_types in commands/core/drupal/cache.inc

File

commands/core/drupal/cache.inc, line 61
Engine for the cache commands.

Code

function drush_cache_clear_theme_registry() {
  if (drush_drupal_major_version() >= 7) {
    drupal_theme_rebuild();
  }
  else {
    cache_clear_all('theme_registry', 'cache', TRUE);
  }
}