function _batch_current_set

Same name and namespace in other branches
  1. 9 core/includes/batch.inc \_batch_current_set()
  2. 8.9.x core/includes/batch.inc \_batch_current_set()
  3. 10 core/includes/batch.inc \_batch_current_set()
  4. 11.x core/includes/batch.inc \_batch_current_set()

Returns the batch set being currently processed.

3 calls to _batch_current_set()
_batch_next_set in includes/batch.inc
Retrieves the next set in a batch.
_batch_process in includes/batch.inc
Processes sets in a batch.
_batch_progress_page in includes/batch.inc
Outputs a batch processing page.

File

includes/batch.inc, line 377

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.