You are here

public function CommerceCurrencyResolverForm::__construct in Commerce Currency Resolver 8

CommerceCurrencyResolverForm constructor.

Parameters

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Drupal config.

\Drupal\commerce_currency_resolver\CurrencyHelperInterface $currency_helper: Generic helper.

Overrides ConfigFormBase::__construct

File

src/Form/CommerceCurrencyResolverForm.php, line 33

Class

CommerceCurrencyResolverForm
Class CommerceCurrencyResolverForm.

Namespace

Drupal\commerce_currency_resolver\Form

Code

public function __construct(ConfigFactoryInterface $config_factory, CurrencyHelperInterface $currency_helper) {
  parent::__construct($config_factory);
  $this->currencyHelper = $currency_helper;
}