public static function AuditFilesBatchProcess::_auditfiles_referenced_not_used_batch_delete_process_batch in Audit Files 8
The batch process for deleting the file. Used by the Batch API to keep track of and pass data from one operation to the next.
File
- src/
AuditFilesBatchProcess.php, line 234 - providing the service that used in not in
Class
- AuditFilesBatchProcess
- Process batch files.
Namespace
Drupal\auditfilesCode
public static function _auditfiles_referenced_not_used_batch_delete_process_batch($reference_id, array &$context) {
\Drupal::service('auditfiles.referenced_not_used')
->_auditfiles_referenced_not_used_batch_delete_process_file($reference_id);
$context['results'][] = $reference_id;
$context['message'] = t('Processed reference ID %file_id.', [
'%file_id' => $reference_id,
]);
}