public static function CurrencyExchanger::saveConfiguration in Currency 7.2
Saves the configuration.
Parameters
array $configuration: Keys are currency_exchanger plugin names. Values are booleans that describe whether the plugins are enabled. Items are ordered by weight.
Return value
NULL
2 calls to CurrencyExchanger::saveConfiguration()
- CurrencyExchangerWebTestCase::testCurrencyExchanger in currency/
tests/ CurrencyConverterWebTestCase.test - Test currency exchange.
- currency_form_currency_exchanger_submit in currency/
currency.module - Implements form submit callback.
File
- currency/
includes/ CurrencyExchanger.inc, line 42 - Contains class CurrencyExchanger.
Class
- CurrencyExchanger
- A currency exchanger that uses other available currency exchangers to load exchange rates.
Code
public static function saveConfiguration(array $configuration) {
variable_set('currency_exchanger', $configuration);
}