function _batch_do
Same name in other branches
- 9 core/includes/batch.inc \_batch_do()
- 8.9.x core/includes/batch.inc \_batch_do()
- 10 core/includes/batch.inc \_batch_do()
- 11.x core/includes/batch.inc \_batch_do()
Does one execution pass with JavaScript and returns progress to the browser.
See also
1 call to _batch_do()
- _batch_page in includes/
batch.inc - Renders the batch processing page based on the current state of the batch.
File
-
includes/
batch.inc, line 103
Code
function _batch_do() {
// Perform actual processing.
list($percentage, $message) = _batch_process();
drupal_json_output(array(
'status' => TRUE,
'percentage' => $percentage,
'message' => $message,
));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.