migrate_plus.migration.d7_users.yml 1.8 KB

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