Same name in other branches
- 7.x-2.x advagg.drush.inc \drush_advagg_clear_db_cache()
Callback function for drush advagg-clear-db-cache.
Callback is called by using drush_hook_command() where hook is the name of the module (advagg) and command is the name of the Drush command with all "-" characters converted to "_" characters.
1 call to drush_advagg_clear_db_cache()
- drush_advagg_force_new_aggregates in ./
advagg.drush.inc - Callback function for drush advagg-force-new-aggregates.
File
-
./
advagg.drush.inc, line 115
Code
function drush_advagg_clear_db_cache() {
\Drupal::service('cache.advagg.minify')->deleteAll();
// Report back the results.
drush_log(dt('All AdvAgg cache bins have been cleared.'), 'ok');
}