You are here

public function CurrencyImportForm::__construct in Commerce Core 8.2

Creates a new CurrencyImportForm object.

Parameters

\Drupal\commerce_price\CurrencyImporterInterface $importer: The currency importer.

File

modules/price/src/Form/CurrencyImportForm.php, line 28

Class

CurrencyImportForm
Provides a form for importing currencies from library definitions.

Namespace

Drupal\commerce_price\Form

Code

public function __construct(CurrencyImporterInterface $importer) {
  $this->importer = $importer;
}