Set a redirect queue that can then be worked through.
$redirects: An array of redirect url's to be processed. For example checkout pages as returned by tmgmt_job_checkout_multiple().
$destination: A final destination to go to after the queue has been processed.
Deprecated in 8.x-1.x, use \Drupal\tmgmt\JobQueue::startQueue() instead.
function tmgmt_redirect_queue_set(array $redirects, $destination = NULL) {
$_SESSION['tmgmt']['redirect_queue'] = $redirects;
$_SESSION['tmgmt']['destination'] = $destination;
}