function form_placeholder_drush_command in Form Placeholder 7
Implements hook_drush_command().
File
- ./
form_placeholder.drush.inc, line 11 - Drush integration for Form Placeholder.
Code
function form_placeholder_drush_command() {
$items = array();
// The key in the $items array is the name of the command.
$items['download-placeholder-library'] = array(
'callback' => 'drush_download_placeholder_library',
'description' => dt('Download and install the jquery.placeholder plugin.'),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
// No bootstrap.
'arguments' => array(
'path' => dt('Optional. A path where to install the jQuery Placeholder plugin. If omitted Drush will use the default location.'),
),
);
return $items;
}