public function CurrencyImportForm::__construct in Price 8
Same name and namespace in other branches
- 3.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::__construct()
- 2.0.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::__construct()
- 2.x src/Form/CurrencyImportForm.php \Drupal\price\Form\CurrencyImportForm::__construct()
- 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\FormCode
public function __construct(CurrencyImporterInterface $importer) {
$this->importer = $importer;
}