You are here

function views_infinite_scroll_drush_command in Views Infinite Scroll 7

Same name and namespace in other branches
  1. 6 drush/views_infinite_scroll.drush.inc \views_infinite_scroll_drush_command()

Implements hook_drush_command().

In this hook, you specify which commands your drush module makes available, what it does and description.

Notice how this structure closely resembles how you define menu hooks.

@See drush_parse_command() for a list of recognized keys.

Return value

An associative array describing your command(s).

File

drush/views_infinite_scroll.drush.inc, line 23
drush integration for views_infinite_scroll.

Code

function views_infinite_scroll_drush_command() {
  $items = array();
  $items['dl-autopager'] = array(
    'callback' => 'views_infinite_scroll_drush_autopager_download',
    'description' => dt('Downloads the required autopager jquery plugin.'),
  );
  return $items;
}