public static function AuditFilesBatchProcess::auditfilesReferencedNotUsedBatchAddProcessBatch in Audit Files 8.2
Used by the Batch API to keep track of and pass data from one operation.
File
- src/
AuditFilesBatchProcess.php, line 220
Class
- AuditFilesBatchProcess
- Process batch files.
Namespace
Drupal\auditfilesCode
public static function auditfilesReferencedNotUsedBatchAddProcessBatch($reference_id, array &$context) {
\Drupal::service('auditfiles.referenced_not_used')
->auditfilesReferencedNotUsedBatchAddProcessFile($reference_id);
$context['results'][] = $reference_id;
$context['message'] = t('Processed reference ID %file_id.', [
'%file_id' => $reference_id,
]);
}