migrate_plus.migration.d7_user_profile_customer.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. uuid: efadb1c8-1ff5-4a7c-9a1f-2b9c269a8362
  2. langcode: en
  3. status: true
  4. dependencies:
  5. enforced:
  6. module:
  7. - migrate_plus
  8. - migrate_tools
  9. - profile
  10. id: d7_user_profile_customer
  11. class: null
  12. field_plugin_method: null
  13. cck_plugin_method: null
  14. migration_tags:
  15. - 'Drupal 7'
  16. - Content
  17. - Materio
  18. migration_group: d7_materio
  19. label: 'D7 User Customer Profile'
  20. source:
  21. plugin: d7_user_profile_customer
  22. batch_size: 1000
  23. process:
  24. type:
  25. plugin: default_value
  26. default_value: customer
  27. uid:
  28. plugin: migration_lookup
  29. migration: d7_users
  30. source: uid
  31. phone: billing_phone
  32. address/country_code: billing_country
  33. address/administrative_area: billing_zone
  34. address/locality: billing_city
  35. address/postal_code: billing_postal_code
  36. address/address_line1: billing_street1
  37. address/address_line2: billing_street2
  38. address/organization: billing_company
  39. address/given_name: billing_first_name
  40. address/family_name: billing_last_name
  41. tax_number:
  42. plugin: iterator
  43. source: field_vat_number_intra_ce
  44. process:
  45. value: value
  46. type:
  47. plugin: default_value
  48. default_value: EU
  49. destination:
  50. plugin: 'entity:profile'
  51. migration_dependencies:
  52. required:
  53. - d7_users