function mailchimp_ecommerce_get_currency_codes in Mailchimp E-Commerce 8
Same name and namespace in other branches
- 7 mailchimp_ecommerce.module \mailchimp_ecommerce_get_currency_codes()
Returns currency codes from the xml file.
This is used if Drupal Commerce is not available.
Return value
array Array of currency codes.
1 call to mailchimp_ecommerce_get_currency_codes()
- MailchimpEcommerceAdminSettings::buildForm in src/
Form/ MailchimpEcommerceAdminSettings.php - Form constructor.
File
- ./
mailchimp_ecommerce.module, line 90 - Mailchimp eCommerce core functionality.
Code
function mailchimp_ecommerce_get_currency_codes() {
return \Drupal::service('mailchimp_ecommerce.helper')
->getCurrencyCodes();
}