You are here

public function CurrencyImportForm::__construct in Price 2.0.x

Same name and namespace in other branches
  1. 8 src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::__construct()
  2. 3.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::__construct()
  3. 2.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::__construct()
  4. 3.0.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::__construct()

Creates a new CurrencyImportForm object.

Parameters

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

File

src/Form/CurrencyImportForm.php, line 28

Class

CurrencyImportForm
Provides a form for importing currencies from library definitions.

Namespace

Drupal\price\Form

Code

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