migrate_plus.migration.d7_users.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. uuid: 952c90cc-0ab6-4638-82db-a7484cd11917
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: AglNUIV8aPCwgbTf8P3TNC2TmZkCXgPmEZGMG_Ex2Ms
  7. id: d7_users
  8. class: null
  9. field_plugin_method: null
  10. cck_plugin_method: null
  11. migration_tags:
  12. - 'Drupal 7'
  13. - Content
  14. - Materio
  15. migration_group: d7_materio
  16. label: 'User accounts'
  17. source:
  18. plugin: d7_users
  19. batch_size: 1000
  20. process:
  21. name: name
  22. pass: pass
  23. mail:
  24. -
  25. plugin: skip_on_value
  26. equals: true
  27. source: mail
  28. method: row
  29. value:
  30. - dev@g-u-i.net
  31. - admin@g-u-i.net
  32. -
  33. plugin: default_value
  34. source: mail
  35. default_value: null
  36. created: created
  37. access: access
  38. login: login
  39. status: status
  40. timezone: timezone
  41. langcode:
  42. plugin: user_langcode
  43. source: entity_language
  44. fallback_to_site_default: false
  45. preferred_langcode:
  46. plugin: user_langcode
  47. source: language
  48. fallback_to_site_default: true
  49. preferred_admin_langcode:
  50. plugin: user_langcode
  51. source: language
  52. fallback_to_site_default: true
  53. init: init
  54. roles:
  55. plugin: static_map
  56. source: roles
  57. default_value: 2
  58. map:
  59. 1: anonymous
  60. 2: authenticated
  61. 3: admin
  62. 4: root
  63. 5: contact_company
  64. 6: adherent
  65. 7: free_user
  66. 8: premium
  67. 9: unverified
  68. 10: student
  69. 11: alpha_testeur
  70. 12: translator
  71. 13: admin_showroom
  72. field_company:
  73. plugin: migration_lookup
  74. migration: d7_taxonomy_term_company
  75. source: field_company
  76. no_stub: true
  77. field_showroom:
  78. plugin: migration_lookup
  79. migration: d7_taxonomy_term_showroom
  80. no_stub: true
  81. source: field_showroom
  82. field_memo: field_memo
  83. field_member_type: member_type
  84. destination:
  85. plugin: 'entity:user'
  86. migration_dependencies:
  87. required:
  88. - d7_allpublicfiles
  89. - d7_taxonomy_term_showroom
  90. - d7_taxonomy_term_company