You are here

uc_currency.yml in Commerce Migrate 3.1.x

modules/ubercart/migrations/uc_currency.yml

File

modules/ubercart/migrations/uc_currency.yml
View source
  1. # Ubercart currency information.
  2. id: uc_currency
  3. label: Migrate store from Ubercart
  4. migration_tags:
  5. - Drupal 6
  6. - Drupal 7
  7. - Ubercart
  8. - Configuration
  9. source:
  10. plugin: uc_currency
  11. variables:
  12. # The ISO 4217 currency code.
  13. - uc_currency_code
  14. - uc_currency_prec
  15. - uc_currency_sign
  16. # uc_currency_dec and uc_currency_thou are not used.
  17. # - uc_currency_prec
  18. # - uc_currency_sign
  19. process:
  20. currencyCode: uc_currency_code
  21. name: currency_name
  22. numericCode: numeric_code
  23. symbol: uc_currency_sign
  24. fraction_digits: uc_currency_prec
  25. destination:
  26. plugin: entity:commerce_currency
  27. destination_module: commerce_price