migrate_plus.migration.d7_users.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. uuid: 73a8209b-f751-4bcc-90ad-aabbfb463fd8
  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. field_member_type: member_type
  82. destination:
  83. plugin: 'entity:user'
  84. migration_dependencies:
  85. required:
  86. - d7_allpublicfiles
  87. - d7_taxonomy_term_showroom
  88. - d7_taxonomy_term_company