function drush_drupal_cache_clear_all

8.0.x drupal.inc drush_drupal_cache_clear_all()
6.x drupal.inc drush_drupal_cache_clear_all()
7.x drupal.inc drush_drupal_cache_clear_all()
3.x drush.inc drush_drupal_cache_clear_all()
4.x drush.inc drush_drupal_cache_clear_all()
5.x drupal.inc drush_drupal_cache_clear_all()
master drupal.inc drush_drupal_cache_clear_all()
2 calls to drush_drupal_cache_clear_all()
drush_core_updatedb in commands/core/core.drush.inc
Command handler. Execute update.php code from drush.
pm_update_packages in commands/pm/updatecode.pm.inc
Update packages according to an array of releases, following interactive confirmation from the user.

File

includes/drush.inc, line 225
The drush API implementation and helpers.

Code

function drush_drupal_cache_clear_all() {
  $prior = drush_get_context('DRUSH_AFFIRMATIVE');
  drush_set_context('DRUSH_AFFIRMATIVE', TRUE);
  drush_invoke('cache-clear', 'all');
  drush_set_context('DRUSH_AFFIRMATIVE', $prior);
}