You are here

function _batch_current_set in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/includes/batch.inc \_batch_current_set()

Returns the batch set being currently processed.

5 calls to _batch_current_set()
BatchController::batchPageTitle in core/modules/system/src/Controller/BatchController.php
The _title_callback for the system.batch_page.normal route.
_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 363
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']];
}