You are here

uc_product_attribute.yml in Commerce Migrate 3.1.x

modules/ubercart/migrations/uc_product_attribute.yml

File

modules/ubercart/migrations/uc_product_attribute.yml
View source
  1. id: uc_product_attribute
  2. label: Ubercart attribute
  3. migration_tags:
  4. - Drupal 6
  5. - Drupal 7
  6. - Ubercart
  7. - Configuration
  8. source:
  9. plugin: uc_attribute
  10. process:
  11. id:
  12. -
  13. plugin: migration_lookup
  14. migration: uc_attribute_field
  15. source: aid
  16. -
  17. plugin: extract
  18. index:
  19. - 1
  20. -
  21. plugin: substr
  22. start: 10
  23. label: label
  24. elementType:
  25. plugin: static_map
  26. bypass: true
  27. source: display
  28. map:
  29. # Text field
  30. 0: text
  31. # Select box
  32. 1: select
  33. # Radio buttons
  34. 2: radios
  35. # Checkboxes
  36. 3: checkbox
  37. destination:
  38. plugin: entity:commerce_product_attribute
  39. destination_module: commerce_product
  40. migration_dependencies:
  41. required:
  42. - uc_attribute_field