public static function AuditFilesBatchProcess::_auditfiles_used_not_referenced_batch_delete_process_batch in Audit Files 8
The batch process for deleting the file.
File
- src/
AuditFilesBatchProcess.php, line 176 - providing the service that used in not in
Class
- AuditFilesBatchProcess
- Process batch files.
Namespace
Drupal\auditfilesCode
public static function _auditfiles_used_not_referenced_batch_delete_process_batch($file_id, array &$context) {
\Drupal::service('auditfiles.used_not_referenced')
->_auditfiles_used_not_referenced_batch_delete_process_file($file_id);
$context['results'][] = $file_id;
$context['message'] = t('Processed file ID %file_id.', [
'%file_id' => $file_id,
]);
}