You are here

function getlocations_drush_help in Get Locations 7

Same name and namespace in other branches
  1. 7.2 drush/getlocations.drush.inc \getlocations_drush_help()

Implements hook_drush_help().

This function is called whenever a drush user calls 'drush help <name-of-your-command>'

Parameters

A string with the help section (prepend with 'drush:'):

Return value

A string with the help text for your command.

File

drush/getlocations.drush.inc, line 101
getlocations.drush.inc @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL

Code

function getlocations_drush_help($section) {
  switch ($section) {
    case 'drush:getlocations-markers':
      return dt('Download and install the basic set of getlocations markers from Dropbox, default location is sites/all/libraries.');
    case 'drush:getlocations-geojson':
      return dt('Download and install the GeoJSON javascript library from Github, default location is sites/all/libraries.');
    case 'drush:getlocations-geocoder':
      return dt('Download and install the geocoder-js javascript library from Github, default location is sites/all/libraries.');
    case 'drush:getlocations-leaflet':
      return dt('Download and install the Leafletjs library from http://leafletjs.com, default location is sites/all/libraries.');
    case 'drush:getlocations-leaflet-hash':
      return dt('Download and install the Leaflet-hash library from Github, default location is sites/all/libraries.');
  }
}