1.20.x batch.inc &_batch_current_set()

Returns the batch set being currently processed.

File

includes/batch.inc, line 387
Batch processing API for processes to run in multiple HTTP requests.

Code

function &_batch_current_set() {
  $batch = &batch_get();
  return $batch['sets'][$batch['current_set']];
}