You are here

public function AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile in Audit Files 4.x

Same name and namespace in other branches
  1. 8.3 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()
  2. 8 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()
  3. 8.2 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()

Submit form after confirmation.

File

src/Form/AuditFilesUsedNotReferenced.php, line 253

Class

AuditFilesUsedNotReferenced
File used but not referenced functionality.

Namespace

Drupal\auditfiles\Form

Code

public function confirmSubmissionHandlerDeleteFile(array &$form, FormStateInterface $form_state) {
  batch_set($this->filesUsedNotReferenced
    ->auditfilesUsedNotReferencedBatchDeleteCreateBatch($form_state
    ->getValue('changelist')));
}