You are here

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

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. 8.2 src/Form/AuditFilesUsedNotManaged.php \Drupal\auditfiles\Form\AuditFilesUsedNotManaged::confirmSubmissionHandlerDeleteFile()

Submit handler for confirmation.

File

src/Form/AuditFilesUsedNotManaged.php, line 252

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')));
}