hook_batch_alter

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

batch_set()

batch_process()

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) {
}
doc_Drupal
2016-10-29 09:17:50
Comments
Leave a Comment

Please login to continue.