_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
1 2 3 4 5 | function _batch_shutdown() { if ( $batch = batch_get()) { \Drupal::service( 'batch.storage' )->update( $batch ); } } |
Please login to continue.