migrate_plus.migration.d7_user_profile_customer.yml 1.3 KB

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