You are here

function votingapi_drush_help in Voting API 7.3

Same name and namespace in other branches
  1. 8.3 votingapi.drush.inc \votingapi_drush_help()
  2. 7.2 votingapi.drush.inc \votingapi_drush_help()

Implements of hook_drush_help().

File

./votingapi.drush.inc, line 12
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>.');
  }
}