Same name in other branches
- 5.0.x advagg.drush.inc \advagg_drush_help()
- 6.0.x advagg.drush.inc \advagg_drush_help()
- 7.x-2.x advagg.drush.inc \advagg_drush_help()
- 8.x-3.x advagg.drush.inc \advagg_drush_help()
- 8.x-4.x advagg.drush.inc \advagg_drush_help()
Implements hook_drush_help().
File
-
./
advagg.drush.inc, line 19
Code
function advagg_drush_help($command) {
switch ($command) {
case 'drush:advagg-cron':
return dt('Run the advagg cron hook. This will clear out all stale advagg aggregated files, remove aggregates that include missing files, and remove unused aggregates.');
case 'drush:advagg-clear-db-cache':
return dt('Remove all entries from the advagg cache bins. Useful if you suspect a cache is not getting cleared.');
case 'drush:advagg-clear-all-files':
return dt('Remove all generated files. Useful if you think some of the generated files got corrupted and thus need to be deleted.');
case 'drush:advagg-force-new-aggregates':
return dt('Force the creation of all new aggregates by incrementing a global counter. Current value of counter: %value. This is useful if a CDN has cached an aggregate incorrectly as it will force new ones to be used even if nothing else has changed.', [
'%value' => advagg_get_global_counter(),
]);
}
}