function votingapi_drush_help in Voting API 8.3
Same name and namespace in other branches
- 7.3 votingapi.drush.inc \votingapi_drush_help()
- 7.2 votingapi.drush.inc \votingapi_drush_help()
Implements hook_drush_help().
File
- ./
votingapi.drush.inc, line 16 - Voting API module integration with Drush 8 and earlier.
Code
function votingapi_drush_help($section) {
switch ($section) {
case 'meta:voting:title':
return dt('Voting API commands');
case 'meta:voting:summary':
return dt('Drush commands for the Voting API module.');
case 'drush:generate-votes':
return dt('Creates dummy voting data.');
case 'drush:votingapi-recalculate':
return dt('Regenerates voting results from raw vote data.');
case 'drush:votingapi-flush':
return dt('Deletes all existing voting data.');
}
}