migrate_plus.migration.d7_user_profile.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. uuid: 31329805-ff63-4a85-bbc6-71d7ce63b453
  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
  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 Profiles'
  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. plugin: static_map
  29. source: type
  30. map:
  31. contact_operationnel: contact_company
  32. adherent: member
  33. uid:
  34. plugin: migration_lookup
  35. migration: d7_users
  36. source: uid
  37. field_title: field_private_name_title
  38. field_first_name: field_first_name
  39. field_name: field_name
  40. field_organization: field_organization
  41. field_activity_sector: field_activity_sector
  42. field_phone: field_private_phone
  43. field_address:
  44. plugin: iterator
  45. source: field_adresse
  46. process:
  47. country_code: country
  48. administrative_area: administrative_area
  49. locality: locality
  50. dependent_locality: dependent_locality
  51. postal_code: postal_code
  52. address_line1: thoroughfare
  53. organization: organisation_name
  54. given_name: first_name
  55. family_name: last_name
  56. field_position: field_private_quality
  57. field_service: field_service
  58. field_employee: field_employee
  59. field_vat_number_intra_ce: field_vat_number_intra_ce
  60. field_naf: field_naf
  61. field_siret: field_siret
  62. field_website:
  63. plugin: iterator
  64. source: field_user_website
  65. process:
  66. uri: url
  67. title: title
  68. options: attributes
  69. field_email:
  70. plugin: iterator
  71. source: field_email
  72. process:
  73. value: email
  74. field_memo: field_memo
  75. destination:
  76. plugin: 'entity:profile'
  77. migration_dependencies:
  78. required:
  79. - d7_users