function eck_revision_batch_operation_finished in ECK Revision 7
2 calls to eck_revision_batch_operation_finished()
File
- ./
eck_revision.module, line 388 - ECK Revision module.
Code
function eck_revision_batch_operation_finished($success, $results, $operations) {
if ($success) {
drupal_set_message(t('@count entities processed.', array(
'@count' => count($results),
)));
}
else {
// An error occurred.
// $operations contains the operations that remained unprocessed.
$error_operation = reset($operations);
drupal_set_message(t('An error occurred while processing @operation with arguments : @args', array(
'@operation' => $error_operation[0],
'@args' => print_r($error_operation[0], TRUE),
)));
}
}