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.
Parameters
$batch: The associative array of batch information. See batch_set() for details on what this could contain.
See also
Related topics
- Batch operations
- Creates and processes batch operations.
- Hooks
- Define functions that alter the behavior of Drupal core.
File
- core/lib/Drupal/Core/Form/form.api.php, line 323
- Callbacks and hooks related to form system.
Code
function hook_batch_alter(&$batch) { }
Please login to continue.