migrate_plus.migration.d7_user_profile.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. uuid: b395329b-ca8f-4ac4-9a1c-2e9402da1606
  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: e1Ovv7AKK2jcslO5T8MUMLNWeIQZuRJr_IX21nWvZMY
  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. batch_size: 1000
  25. high_water_property:
  26. name: changed
  27. alias: p
  28. process:
  29. type:
  30. plugin: static_map
  31. source: type
  32. map:
  33. contact_operationnel: contact_company
  34. adherent: member
  35. uid:
  36. plugin: migration_lookup
  37. migration: d7_users
  38. source: uid
  39. field_title: field_private_name_title
  40. field_first_name: field_first_name
  41. field_name: field_name
  42. field_organization: field_organization
  43. field_activity_sector: field_activity_sector
  44. field_phone: field_private_phone
  45. field_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. field_position: field_private_quality
  59. field_service: field_service
  60. field_employee: field_employee
  61. field_vat_number_intra_ce: field_vat_number_intra_ce
  62. field_naf: field_naf
  63. field_siret: field_siret
  64. field_website:
  65. plugin: iterator
  66. source: field_user_website
  67. process:
  68. uri: url
  69. title: title
  70. options: attributes
  71. field_email:
  72. plugin: iterator
  73. source: field_email
  74. process:
  75. value: email
  76. field_memo: field_memo
  77. destination:
  78. plugin: 'entity:profile'
  79. migration_dependencies:
  80. required:
  81. - d7_users