public static function AuditFilesBatchProcess::auditfilesUsedNotManagedBatchFinishBatch in Audit Files 8.2
Called when the batch is complete : functionality 'used not managed'.
File
- src/
AuditFilesBatchProcess.php, line 159
Class
- AuditFilesBatchProcess
- Process batch files.
Namespace
Drupal\auditfilesCode
public static function auditfilesUsedNotManagedBatchFinishBatch($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),
]));
}
}