function hosting_queued_drush_command in Hosting 7.4
Same name and namespace in other branches
- 6.2 queued/hosting_queued.drush.inc \hosting_queued_drush_command()
- 7.3 queued/hosting_queued.drush.inc \hosting_queued_drush_command()
Implements hook_drush_command().
File
- queued/
hosting_queued.drush.inc, line 17 - Dispatcher daemon
Code
function hosting_queued_drush_command() {
$items = array();
$items['hosting-queued'] = array(
'description' => 'Runs the tasks queue',
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
'drupal dependencies' => array(
'hosting_queued',
),
);
$items['hosting-release-lock'] = array(
'description' => 'Releases any stale locks on the tasks queue',
'bootstrap' => DRUSH_BOOTSTRAP_DRUPAL_FULL,
'drupal dependencies' => array(
'hosting_queued',
),
);
return $items;
}