You are here

function sendgrid_integration_cron_queue_info in SendGrid Integration 7

Implements hook_cron_queue_info().

File

./sendgrid_integration.module, line 87
Main module file for SendGrid Integration.

Code

function sendgrid_integration_cron_queue_info() {
  $queues = [];
  $queues['SendGridResendQueue'] = [
    'worker callback' => 'sendgrid_integration_email_resend',
    'time' => 60,
  ];
  return $queues;
}