hook_batch_alter(&$batch)
Alter batch information before a batch is processed.
Called by batch_process() to allow modules to alter a batch before it is processed.
$batch: The associative array of batch information. See batch_set() for details on what this could contain.
function hook_batch_alter(&$batch) { }
© 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/core!lib!Drupal!Core!Form!form.api.php/function/hook_batch_alter/8.1.x