You are here

public function LaunchImportForm::onBatchEnd in Content Synchronizer 3.x

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

The callback after batch process.

File

src/Form/LaunchImportForm.php, line 120

Class

LaunchImportForm
Launch Import Form.

Namespace

Drupal\content_synchronizer\Form

Code

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