You are here

public function AuditFilesUsedNotManaged::confirmSubmissionHandlerDeleteFile in Audit Files 8.2

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

Submit handler for confirmation.

File

src/Form/AuditFilesUsedNotManaged.php, line 259

Class

AuditFilesUsedNotManaged
Class for file used but not managed.

Namespace

Drupal\auditfiles\Form

Code

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