You are here

public static function AuditFilesBatchProcess::_auditfiles_used_not_managed_batch_delete_process_batch in Audit Files 8

The batch process for deleting the file feature 'used not managed'.

File

src/AuditFilesBatchProcess.php, line 149
providing the service that used in not in

Class

AuditFilesBatchProcess
Process batch files.

Namespace

Drupal\auditfiles

Code

public static function _auditfiles_used_not_managed_batch_delete_process_batch($file_id, array &$context) {
  \Drupal::service('auditfiles.used_not_managed')
    ->_auditfiles_used_not_managed_batch_delete_process_file($file_id);
  $context['results'][] = $file_id;
  $context['message'] = t('Processed file ID %file_id.', [
    '%file_id' => $file_id,
  ]);
}