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()
6 calls to drush_drupal_cache_clear_all()
drush_core_entity_updates in commands/core/core.drush.inc
Command handler. Apply pending entity schema updates.
drush_core_updatedb in commands/core/core.drush.inc
Command handler. Execute update.php code from drush.
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 one or more permission(s) to the specified role.
drush_role_remove_perm in commands/core/role.drush.inc
Remove permission(s) from the specified role.

... See full list

1 string reference to 'drush_drupal_cache_clear_all'
drush_update_batch in commands/core/drupal/update.inc
Start the database update batch process.

File

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

Code

function drush_drupal_cache_clear_all() {
  if (drush_drupal_major_version() >= 8) {
    drush_invoke_process('@self', 'cache-rebuild');
  }
  else {
    drush_invoke_process('@self', 'cache-clear', array('all'));
  }
}