public function CurrencyImportForm::__construct in Currency 8.3
Constructs a new instance.
Parameters
\Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translator.
\Drupal\currency\ConfigImporterInterface: The Currency config importer.
\Drupal\currency\FormHelperInterface: The Currency form helper.
File
- src/
Form/ CurrencyImportForm.php, line 44
Class
- CurrencyImportForm
- Provides the currency import form.
Namespace
Drupal\currency\FormCode
public function __construct(TranslationInterface $string_translation, ConfigImporterInterface $config_importer, FormHelperInterface $form_helper) {
$this->configImporter = $config_importer;
$this->formHelper = $form_helper;
$this->stringTranslation = $string_translation;
}