public static function AuditFilesBatchProcess::auditfilesReferencedNotUsedBatchFinishBatch in Audit Files 8.2
The function that is called when the batch is complete.
File
- src/
AuditFilesBatchProcess.php, line 203
Class
- AuditFilesBatchProcess
- Process batch files.
Namespace
Drupal\auditfilesCode
public static function auditfilesReferencedNotUsedBatchFinishBatch($success, $results, $operations) {
if (!$success) {
$error_operation = reset($operations);
$self::messenger()
->addError(t('An error occurred while processing @operation with arguments : @args', [
'@operation' => $error_operation[0],
'@args' => print_r($error_operation[0], TRUE),
]));
}
}