public function AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile in Audit Files 4.x
Same name and namespace in other branches
- 8.3 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()
- 8 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()
- 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\FormCode
public function confirmSubmissionHandlerDeleteFile(array &$form, FormStateInterface $form_state) {
batch_set($this->filesUsedNotReferenced
->auditfilesUsedNotReferencedBatchDeleteCreateBatch($form_state
->getValue('changelist')));
}