Same name in other branches
- 5.0.x advagg.drush.inc \advagg_drush_command()
- 6.0.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()
- 8.x-4.x advagg.drush.inc \advagg_drush_command()
Implements hook_drush_command().
Sujets associés
Fichier
-
./
advagg.drush.inc, line 43
Code
function advagg_drush_command() {
$items = array();
$items['advagg-cron'] = array(
'description' => dt('Run the advagg cron hook.'),
'examples' => array(
'Standard example' => 'drush advagg-cron',
),
'aliases' => array(
'advagg-c',
),
);
$items['advagg-clear-db-cache'] = array(
'description' => dt('Remove all entries from the advagg cache bins.'),
'examples' => array(
'Standard example' => 'drush advagg-clear-db-cache',
),
'aliases' => array(
'advagg-cdc',
),
);
$items['advagg-clear-all-files'] = array(
'description' => dt('Remove all generated files.'),
'examples' => array(
'Standard example' => 'drush advagg-clear-all-files',
),
'aliases' => array(
'advagg-caf',
),
);
$items['advagg-force-new-aggregates'] = array(
'description' => dt('Force the creation of all new aggregates by incrementing a global counter.'),
'examples' => array(
'Standard example' => 'drush advagg-force-new-aggregates',
),
'aliases' => array(
'advagg-fna',
),
);
return $items;
}