You are here

public function AuditFilesNotOnServer::confirmSubmissionHandlerDelete in Audit Files 8

Same name and namespace in other branches
  1. 8.2 src/Form/AuditFilesNotOnServer.php \Drupal\auditfiles\Form\AuditFilesNotOnServer::confirmSubmissionHandlerDelete()

Delete record from database confirm.

File

src/Form/AuditFilesNotOnServer.php, line 214

Class

AuditFilesNotOnServer

Namespace

Drupal\auditfiles\Form

Code

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