callback_batch_operation
function callback_batch_operation
callback_batch_operation($MULTIPLE_PARAMS, &$context)
Perform a single batch operation.
Callback for batch_set().
Parameters
$MULTIPLE_PARAMS: Additional parameters specific to the batch. These are specified in the array passed to batch_set().
array|\ArrayAccess $context.: The batch context array, passed by reference. This contains the following properties:
- 'finished': A float number between 0 and 1 informing the processing engine of the completion level for the operation. 1 (or no value explicitly set) means the operation is finished: the operatio