Same name in other branches
- 5.0.x advagg.drush.inc \advagg_drush_command()
- 6.0.x advagg.drush.inc \advagg_drush_command()
- 7.x-2.x advagg.drush.inc \advagg_drush_command()
- 8.x-2.x advagg.drush.inc \advagg_drush_command()
- 8.x-3.x advagg.drush.inc \advagg_drush_command()
Implements hook_drush_command().
Related topics
File
-
./
advagg.drush.inc, line 52
Code
function advagg_drush_command() {
$items = [];
$items['advagg-cron'] = [
'description' => dt('Run the advagg cron hook.'),
'examples' => [
'Standard example' => 'drush advagg-cron',
],
'aliases' => [
'advagg-c',
],
];
$items['advagg-disable'] = [
'description' => dt('Disable Advagg.'),
'examples' => [
'Standard example' => 'drush advagg-disable',
],
'aliases' => [
'advagg-da',
],
];
$items['advagg-enable'] = [
'description' => dt('Enable Advagg.'),
'examples' => [
'Standard example' => 'drush advagg-enable',
],
'aliases' => [
'advagg-en',
],
];
$items['advagg-clear-all-files'] = [
'description' => dt('Remove all generated files.'),
'examples' => [
'Standard example' => 'drush advagg-clear-all-files',
],
'aliases' => [
'advagg-caf',
],
];
$items['advagg-force-new-aggregates'] = [
'description' => dt('Force the creation of all new files by incrementing a global counter.'),
'examples' => [
'Standard example' => 'drush advagg-force-new-aggregates',
],
'aliases' => [
'advagg-fna',
],
];
return $items;
}