migrate_plus.migration.d7_user_profile.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. uuid: 1a1eddc8-9c4c-4038-9b7f-90f6dc7d1d20
  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: BXfTTGg9wZCH6eEyUC3OcKgCj56WCCRQMcDLYj9yHfo
  12. id: d7_user_profile
  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 Profiles'
  22. source:
  23. plugin: d7_user_profile
  24. high_water_property:
  25. name: changed
  26. alias: p
  27. process:
  28. type:
  29. plugin: static_map
  30. source: type
  31. map:
  32. contact_operationnel: contact_company
  33. adherent: member
  34. uid:
  35. plugin: migration_lookup
  36. migration: d7_users
  37. source: uid
  38. field_title: field_private_name_title
  39. field_first_name: field_first_name
  40. field_name: field_name
  41. field_organization: field_organization
  42. field_activity_sector: field_activity_sector
  43. field_phone: field_private_phone
  44. field_address:
  45. plugin: iterator
  46. source: field_adresse
  47. process:
  48. country_code: country
  49. administrative_area: administrative_area
  50. locality: locality
  51. dependent_locality: dependent_locality
  52. postal_code: postal_code
  53. address_line1: thoroughfare
  54. organization: organisation_name
  55. given_name: first_name
  56. family_name: last_name
  57. field_position: field_private_quality
  58. field_service: field_service
  59. field_employee: field_employee
  60. field_vat_number_intra_ce: field_vat_number_intra_ce
  61. field_naf: field_naf
  62. field_siret: field_siret
  63. field_website:
  64. plugin: iterator
  65. source: field_user_website
  66. process:
  67. uri: url
  68. title: title
  69. options: attributes
  70. field_email:
  71. plugin: iterator
  72. source: field_email
  73. process:
  74. value: email
  75. field_memo: field_memo
  76. destination:
  77. plugin: 'entity:profile'
  78. migration_dependencies:
  79. required:
  80. - d7_users