migrate_plus.migration.d7_user_profile_customer.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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
  22. batch_size: 1000
  23. high_water_property:
  24. name: changed
  25. alias: p
  26. process:
  27. type:
  28. -
  29. plugin: skip_on_value
  30. equals: true
  31. source: type
  32. method: row
  33. value:
  34. - contact_operationnel
  35. -
  36. plugin: static_map
  37. source: type
  38. map:
  39. adherent: customer
  40. uid:
  41. plugin: migration_lookup
  42. migration: d7_users
  43. source: uid
  44. phone: field_private_phone
  45. address:
  46. plugin: iterator
  47. source: field_adresse
  48. process:
  49. country_code: country
  50. administrative_area: administrative_area
  51. locality: locality
  52. dependent_locality: dependent_locality
  53. postal_code: postal_code
  54. address_line1: thoroughfare
  55. organization: organisation_name
  56. given_name: first_name
  57. family_name: last_name
  58. tax_number:
  59. plugin: iterator
  60. source: field_vat_number_intra_ce
  61. process:
  62. value: value
  63. type:
  64. plugin: default_value
  65. default_value: EU
  66. destination:
  67. plugin: 'entity:profile'
  68. migration_dependencies:
  69. required:
  70. - d7_users