You are here

public function CSVImportForm::finished in Commerce Smart Importer 8

Called after check batch finishes.

File

src/Form/CSVImportForm.php, line 459

Class

CSVImportForm
Class CSVImportForm enales you upload CSV and import products from it.

Namespace

Drupal\commerce_smart_importer\Form

Code

public function finished($success, $results, $operations) {
  global $base_url;
  return new RedirectResponse($base_url . '/admin/commerce-csv-import?action=load&import_name=' . $results['import_name']);
}