function openlayers_drush_command in Openlayers 7.3
Same name and namespace in other branches
- 7.2 drush/openlayers.drush.inc \openlayers_drush_command()
Implements hook_drush_command().
File
- drush/
openlayers.drush.inc, line 10 - The drush integration for Openlayers.
Code
function openlayers_drush_command() {
$items = array();
// The key in the $items array is the name of the command.
$items['dl-openlayers'] = array(
'callback' => 'drush_openlayers_plugin',
'description' => dt('Download and install the Openlayers library.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'arguments' => array(
'path' => dt('Optional. A path where to install the Openlayers library. If omitted Drush will use the default location.'),
),
);
return $items;
}