public static function CSVImportForm::create in Commerce Smart Importer 8
Create.
Overrides FormBase::create
File
- src/
Form/ CSVImportForm.php, line 82
Class
- CSVImportForm
- Class CSVImportForm enales you upload CSV and import products from it.
Namespace
Drupal\commerce_smart_importer\FormCode
public static function create(ContainerInterface $container) {
return new static($container
->get('database'), $container
->get('commerce_smart_importer.service'), $container
->get('config.factory'), $container
->get('entity_type.manager'), $container
->get('renderer'));
}