function votingapi_drush_help in Voting API 7.2
Same name and namespace in other branches
- 8.3 votingapi.drush.inc \votingapi_drush_help()
- 7.3 votingapi.drush.inc \votingapi_drush_help()
Implements of hook_drush_help().
File
- ./
votingapi.drush.inc, line 12 - Drush commands to generate votingapi votes, recalculate results for existing votes, or flush VotingAPI data entirely.
Code
function votingapi_drush_help($section) {
switch ($section) {
case 'drush:generate-votes':
return dt('Usage: drush generate-votes <entity_type> <vote_type>.');
case 'drush:votingapi-recalculate':
return dt('Usage: drush votingapi-recalculate <entity_type>.');
case 'drush:votingapi-flush':
return dt('Usage: drush votingapi-flush <entity_type>.');
}
}