You are here

public static function CSVExportForm::create in Commerce Smart Importer 8

Create.

Overrides FormBase::create

File

src/Form/CSVExportForm.php, line 73

Class

CSVExportForm
Form for exporting products in CSV format.

Namespace

Drupal\commerce_smart_importer\Form

Code

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'));
}