You are here

function background_process_background_process_dispatcher_info in Background Process 7.2

Implements background_process_dispatcher_info().

File

./background_process.module, line 147

Code

function background_process_background_process_dispatcher_info() {
  $common = array(
    'file' => drupal_get_path('module', 'background_process') . '/background_process.dispatchers.inc',
  );
  $items = array(
    'http' => array(
      'callback' => 'background_process_dispatcher_http',
      'title callback' => 'background_process_dispatcher_http_title',
      'options callback' => 'background_process_dispatcher_http_options',
    ) + $common,
    'drush' => array(
      'callback' => 'background_process_dispatcher_drush',
      'title callback' => 'background_process_dispatcher_drush_title',
      'options callback' => 'background_process_dispatcher_drush_options',
    ) + $common,
    'queue' => array(
      'callback' => 'background_process_dispatcher_queue',
      'title callback' => 'background_process_dispatcher_queue_title',
      'options callback' => 'background_process_dispatcher_queue_options',
    ) + $common,
    'foreground' => array(
      'callback' => 'background_process_dispatcher_foreground',
      'title callback' => 'background_process_dispatcher_foreground_title',
    ) + $common,
  );
  return $items;
}