You are here

public function AuditFilesManagedNotUsed::confirmSubmissionHandlerFileDelete in Audit Files 8

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

Submit form confirm delete record.

File

src/Form/AuditFilesManagedNotUsed.php, line 204

Class

AuditFilesManagedNotUsed

Namespace

Drupal\auditfiles\Form

Code

public function confirmSubmissionHandlerFileDelete(array &$form, FormStateInterface $form_state) {
  batch_set(\Drupal::service('auditfiles.managed_not_used')
    ->_auditfiles_managed_not_used_batch_delete_create_batch($form_state
    ->getValue('changelist')));
}