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()
3 calls to drush_drupal_cache_clear_all()
drush_pm_updatecode_postupdate in commands/pm/pm.drush.inc
Command callback. Execute updatecode-postupdate.
drush_role_add_perm in commands/core/role.drush.inc
Add a permission to the specified role.
drush_role_remove_perm in commands/core/role.drush.inc
Remove a permission from the specified role.

File

includes/drupal.inc, line 48
Utility functions related to Drupal.

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);
}