You are here

public function CSVExportForm::__construct in Commerce Smart Importer 8

CSVExportForm constructor.

File

src/Form/CSVExportForm.php, line 60

Class

CSVExportForm
Form for exporting products in CSV format.

Namespace

Drupal\commerce_smart_importer\Form

Code

public function __construct(Connection $connection, CommerceSmartImporerService $service, ConfigFactory $configFactory, EntityTypeManagerInterface $entityTypeManager) {
  $this->database = $connection;
  $this->smartImporterService = $service;
  $this->configFactory = $configFactory;
  $this->entityTypeManager = $entityTypeManager;
}