_batch_shutdown()
Shutdown function: Stores the current batch data for the next request.
See also
drupal_register_shutdown_function()
File
- core/includes/batch.inc, line 515
- Batch processing API for processes to run in multiple HTTP requests.
Code
function _batch_shutdown() { if ($batch = batch_get()) { \Drupal::service('batch.storage')->update($batch); } }
Please login to continue.