function imagezoom_drush_command in Image Zoom 7.2
Implements hook_drush_command().
File
- ./
imagezoom.drush.inc, line 14 - Drush integration for Image Zoom.
Code
function imagezoom_drush_command() {
return array(
'imagezoom-download' => array(
'callback' => 'imagezoom_drush_download',
'description' => dt('Downloads the elevateZoom-Plus library required by Image Zoom.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
'arguments' => array(
'path' => dt('Optional. The path to the download folder. If omitted, Drush will use the default location (<code>sites/all/libraries/elevatezoom-plus</code>).'),
),
'aliases' => array(
'imagezoom-download',
'izd',
),
),
);
}