Same name and namespace in other branches
  1. 10 core/includes/form.inc \batch_get()
  2. 7.x includes/form.inc \batch_get()
  3. 8.9.x core/includes/form.inc \batch_get()
  4. 9 core/includes/form.inc \batch_get()

Retrieves the current batch.

Related topics

10 calls to batch_get()
batch_process in includes/form.inc
Processes the batch.
batch_set in includes/form.inc
Opens a new batch.
update.php in ./update.php
Administrative page for handling updates from one Drupal version to another.
_batch_current_set in includes/batch.inc
Retrieve the batch set being currently processed.
_batch_finished in includes/batch.inc
End the batch processing: Call the 'finished' callbacks to allow custom handling of results, and resolve page redirection.

... See full list

File

includes/form.inc, line 2677

Code

function &batch_get() {
  static $batch = array();
  return $batch;
}