function _batch_current_set

7.x batch.inc &_batch_current_set()
6.x batch.inc &_batch_current_set()

Returns the batch set being currently processed.

4 calls to _batch_current_set()
_batch_next_set in drupal-7.x/includes/batch.inc
Retrieves the next set in a batch.
_batch_process in drupal-7.x/includes/batch.inc
Processes sets in a batch.
_batch_progress_page_js in drupal-7.x/includes/batch.inc
Outputs a batch processing page with JavaScript support.
_batch_progress_page_nojs in drupal-7.x/includes/batch.inc
Outputs a batch processing page without JavaScript support.

File

drupal-7.x/includes/batch.inc, line 418
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']];
}