You are here

commerce1_profile_revision.yml in Commerce Migrate 3.1.x

modules/commerce/migrations/commerce1_profile_revision.yml

File

modules/commerce/migrations/commerce1_profile_revision.yml
View source
  1. id: commerce1_profile_revision
  2. label: Commerce customer profile
  3. migration_tags:
  4. - Drupal 7
  5. - Commerce
  6. - Content
  7. deriver: Drupal\commerce_migrate_commerce\Plugin\migrate\ProfileDeriver
  8. source:
  9. plugin: commerce1_profile_revision
  10. profile_type:
  11. - billing
  12. - shipping
  13. process:
  14. profile_id: profile_id
  15. revision_id: revision_id
  16. # Change the Commerce 1 default customer bundle 'billing' to 'customer'.
  17. type:
  18. plugin: static_map
  19. source: type
  20. bypass: true
  21. map:
  22. billing: customer
  23. uid: uid
  24. status: status
  25. created: created
  26. changed: changed
  27. data: data
  28. destination:
  29. plugin: entity:profile
  30. destination_module: profile
  31. migration_dependencies:
  32. required:
  33. - commerce1_profile