You are here

function mandrill_cron_queue_info in Mandrill 7

Same name and namespace in other branches
  1. 7.2 mandrill.module \mandrill_cron_queue_info()

Implements hook_cron_queue_info().

File

./mandrill.module, line 88
Enables Drupal to send email directly through Mandrill.

Code

function mandrill_cron_queue_info() {
  $queues = array();
  $queues[MANDRILL_QUEUE] = array(
    'worker callback' => 'mandrill_queue_worker_mailsend',
    'time' => variable_get('mandrill_queue_worker_timeout', 15),
  );
  return $queues;
}