public function AuditFilesUsedNotManaged::confirmSubmissionHandlerDeleteFile in Audit Files 8
Same name and namespace in other branches
- 8.3 src/Form/AuditFilesUsedNotManaged.php \Drupal\auditfiles\Form\AuditFilesUsedNotManaged::confirmSubmissionHandlerDeleteFile()
- 8.2 src/Form/AuditFilesUsedNotManaged.php \Drupal\auditfiles\Form\AuditFilesUsedNotManaged::confirmSubmissionHandlerDeleteFile()
- 4.x src/Form/AuditFilesUsedNotManaged.php \Drupal\auditfiles\Form\AuditFilesUsedNotManaged::confirmSubmissionHandlerDeleteFile()
Submit handler for confirmation.
File
- src/
Form/ AuditFilesUsedNotManaged.php, line 202
Class
- AuditFilesUsedNotManaged
- Class for file used but not managed.
Namespace
Drupal\auditfiles\FormCode
public function confirmSubmissionHandlerDeleteFile(array &$form, FormStateInterface $form_state) {
batch_set(\Drupal::service('auditfiles.used_not_managed')
->_auditfiles_used_not_managed_batch_delete_create_batch($form_state
->getValue('changelist')));
}