Same name and namespace in other branches
  1. 7.x-2.x advagg.drush.inc \drush_advagg_clear_db_cache() 1 commentaire

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 dans ./advagg.drush.inc
Callback function for drush advagg-force-new-aggregates.

Fichier

./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');
}