You are here

function views_send_batch_deliver_finished in Views Send 8

Same name and namespace in other branches
  1. 7 views_send.module \views_send_batch_deliver_finished()

Displays status after sending messages as a batch job.

1 string reference to 'views_send_batch_deliver_finished'
views_send_queue_mail in ./views_send.module
Assembles the email and queues it for sending.

File

./views_send.module, line 908
The Views Send module.

Code

function views_send_batch_deliver_finished($success, $results, $operations) {
  if ($success) {
    foreach ($results as $result) {
      \Drupal::messenger()
        ->addMessage($result);
    }
  }
}