public function AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile in Audit Files 8
Same name and namespace in other branches
- 8.3 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()
- 8.2 src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()
- 4.x src/Form/AuditFilesUsedNotReferenced.php \Drupal\auditfiles\Form\AuditFilesUsedNotReferenced::confirmSubmissionHandlerDeleteFile()
Submit form after confirmation.
File
- src/
Form/ AuditFilesUsedNotReferenced.php, line 205
Class
Namespace
Drupal\auditfiles\FormCode
public function confirmSubmissionHandlerDeleteFile(array &$form, FormStateInterface $form_state) {
batch_set(\Drupal::service('auditfiles.used_not_referenced')
->_auditfiles_used_not_referenced_batch_delete_create_batch($form_state
->getValue('changelist')));
}