You are here

function fancybox_drush_command in fancyBox 7.2

Implements hook_drush_command().

File

./fancybox.drush.inc, line 33
Provides the fancyBox jQuery plugin, a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages, and an extensive settings page for configuring fancyBox settings and how fancyBox…

Code

function fancybox_drush_command() {
  $items['fancybox-download'] = array(
    'callback' => 'fancybox_drush_download',
    'description' => dt('Downloads the required fancyBox jQuery plugin from Github.'),
    'arguments' => array(
      'path' => dt('Optional. The path to the download folder. If omitted, Drush will use the default location (sites/all/libraries/fancybox).'),
    ),
  );
  return $items;
}