function _batch_current_set

&_batch_current_set()

Returns the batch set being currently processed.

File

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']];
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!batch.inc/function/_batch_current_set/7.x