You are here

public function AuditFilesUsedNotReferencedBatchProcess::__construct in Audit Files 8.3

Class constructor.

Parameters

\Drupal\auditfiles\ServiceAuditFilesUsedNotReferenced $used_not_referenced: Injected ServiceAuditFilesUsedNotManaged service.

int $file_id: File entity ID to delete.

File

src/Batch/AuditFilesUsedNotReferencedBatchProcess.php, line 36

Class

AuditFilesUsedNotReferencedBatchProcess
Process batch files.

Namespace

Drupal\auditfiles\Batch

Code

public function __construct(ServiceAuditFilesUsedNotReferenced $used_not_referenced, $file_id) {
  $this->usedNotReferenced = $used_not_referenced;
  $this->fileId = $file_id;
}