You are here

function background_process_dispatcher_queue_options in Background Process 7.2

Options callback for queue service hosts.

1 string reference to 'background_process_dispatcher_queue_options'
background_process_background_process_dispatcher_info in ./background_process.module
Implements background_process_dispatcher_info().

File

./background_process.dispatchers.inc, line 119

Code

function background_process_dispatcher_queue_options($service_host) {
  $options = array();
  $options['queue'] = isset($service_host['queue']) ? $service_host['queue'] : 'background_process';
  return $options;
}