You are here

commerce1_message.yml in Commerce Migrate 3.0.x

modules/commerce/migrations/commerce1_message.yml

File

modules/commerce/migrations/commerce1_message.yml
View source
  1. id: commerce1_message
  2. label: Commerce messages
  3. migration_tags:
  4. - Drupal 7
  5. - Commerce
  6. - Content
  7. source:
  8. plugin: commerce1_message
  9. process:
  10. skip:
  11. -
  12. plugin: static_map
  13. bypass: true
  14. source: name
  15. map:
  16. commerce_order_admin_comment: skip
  17. commerce_order_payment_entered: skip
  18. commerce_order_payment_full: skip
  19. commerce_order_state: skip
  20. commerce_order_user_comment: skip
  21. commerce_order_order_confirmation: skip
  22. commerce_order_admin_order_confirmation: skip
  23. -
  24. plugin: skip_on_value
  25. value: skip
  26. method: row
  27. log_id: mid
  28. type: type
  29. template_id:
  30. plugin: static_map
  31. bypass: true
  32. source: name
  33. map:
  34. commerce_order_cart_add: cart_entity_added
  35. commerce_order_cart_remove: cart_item_removed
  36. commerce_order_created: order_placed
  37. category_id:
  38. plugin: static_map
  39. bypass: true
  40. source: name
  41. map:
  42. commerce_order_admin_comment: commerce_order
  43. commerce_order_cart_add: commerce_cart
  44. commerce_order_cart_remove: commerce_cart
  45. commerce_order_created: commerce_order
  46. commerce_order_payment_entered: commerce_order
  47. commerce_order_payment_full: commerce_order
  48. commerce_order_state: commerce_order
  49. commerce_order_user_comment: commerce_order
  50. uid:
  51. plugin: migration_lookup
  52. migration: d7_user
  53. source: uid
  54. source_entity_id:
  55. plugin: migration_lookup
  56. migration: commerce1_order
  57. source: target_id
  58. source_entity_type:
  59. plugin: static_map
  60. bypass: true
  61. source: name
  62. map:
  63. commerce_order_admin_comment: commerce_order
  64. commerce_order_cart_add: commerce_cart
  65. commerce_order_cart_remove: commerce_cart
  66. commerce_order_created: commerce_order
  67. commerce_order_payment_entered: commerce_order
  68. commerce_order_payment_full: commerce_order
  69. commerce_order_state: commerce_order
  70. commerce_order_user_comment: commerce_order
  71. created: timestamp
  72. destination:
  73. plugin: 'entity:commerce_log'
  74. destination_module: commerce_log
  75. migration_dependencies:
  76. required:
  77. - commerce1_billing_profile
  78. - commerce1_product_variation
  79. - commerce1_order