You are here

public function LaunchImportForm::onBatchEnd in Content Synchronizer 8

Same name and namespace in other branches
  1. 8.2 src/Form/LaunchImportForm.php \Drupal\content_synchronizer\Form\LaunchImportForm::onBatchEnd()
  2. 3.x src/Form/LaunchImportForm.php \Drupal\content_synchronizer\Form\LaunchImportForm::onBatchEnd()

The callback after batch process.

File

src/Form/LaunchImportForm.php, line 129

Class

LaunchImportForm
Launch Import Form.

Namespace

Drupal\content_synchronizer\Form

Code

public function onBatchEnd($data) {
  $this->import
    ->removeArchive();
}