function PluginBasedExchangeRateProvider::__construct in Currency 8.3
Constructs a new instance.
Parameters
\Drupal\Component\Plugin\PluginManagerInterface $currency_exchange_rate_provider_manager:
\Drupal\Core\Config\ConfigFactoryInterface $config_factory:
File
- src/
PluginBasedExchangeRateProvider.php, line 34
Class
- PluginBasedExchangeRateProvider
- Provides currency exchange rates through plugins.
Namespace
Drupal\currencyCode
function __construct(PluginManagerInterface $currency_exchange_rate_provider_manager, ConfigFactoryInterface $config_factory) {
$this->currencyExchangeRateProviderManager = $currency_exchange_rate_provider_manager;
$this->configFactory = $config_factory;
}