public function ExchangerProviderBase::defaultConfiguration in Commerce Exchanger 8
2 calls to ExchangerProviderBase::defaultConfiguration()
- ExchangerProviderBase::setConfiguration in src/
Plugin/ Commerce/ ExchangerProvider/ ExchangerProviderBase.php - ExchangerProviderBase::submitConfigurationForm in src/
Plugin/ Commerce/ ExchangerProvider/ ExchangerProviderBase.php - Form submission handler.
File
- src/
Plugin/ Commerce/ ExchangerProvider/ ExchangerProviderBase.php, line 115
Class
- ExchangerProviderBase
- Base class for Commerce exchanger provider plugins.
Namespace
Drupal\commerce_exchanger\Plugin\Commerce\ExchangerProviderCode
public function defaultConfiguration() {
return [
'cron' => 1,
'api_key' => '',
'auth' => [],
'use_cross_sync' => FALSE,
'enterprise' => FALSE,
'demo_amount' => 100,
'base_currency' => '',
'refresh_once' => FALSE,
'manual' => FALSE,
'mode' => 'live',
'transform_rates' => FALSE,
];
}