Same name and namespace in other branches
- 6.x includes/batch.inc \_batch_current_set()
- 7.x includes/batch.inc \_batch_current_set()
- 8.9.x core/includes/batch.inc \_batch_current_set()
- 9 core/includes/batch.inc \_batch_current_set()
Returns the batch set being currently processed.
4 calls to _batch_current_set()
- _batch_next_set in core/
includes/ batch.inc - Retrieves the next set in a batch.
- _batch_page in core/
includes/ batch.inc - Renders the batch processing page based on the current state of the batch.
- _batch_process in core/
includes/ batch.inc - Processes sets in a batch.
- _batch_progress_page in core/
includes/ batch.inc - Outputs a batch processing page.
File
- core/
includes/ batch.inc, line 404 - 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']];
}