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