migrate_plus.migration.d7_users.yml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. uuid: 0e8915f4-3471-4dbf-8d6a-767622125b26
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: MSrCVV09c4n2q36chsUNrsaE87aqSrk3FfoG7QBzuxg
  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. process:
  20. name: name
  21. pass: pass
  22. mail:
  23. -
  24. plugin: skip_on_value
  25. equals: true
  26. source: mail
  27. method: row
  28. value:
  29. - dev@g-u-i.net
  30. - admin@g-u-i.net
  31. -
  32. plugin: default_value
  33. source: mail
  34. default_value: null
  35. created: created
  36. access: access
  37. login: login
  38. status: status
  39. timezone: timezone
  40. langcode:
  41. plugin: user_langcode
  42. source: entity_language
  43. fallback_to_site_default: false
  44. preferred_langcode:
  45. plugin: user_langcode
  46. source: language
  47. fallback_to_site_default: true
  48. preferred_admin_langcode:
  49. plugin: user_langcode
  50. source: language
  51. fallback_to_site_default: true
  52. init: init
  53. roles:
  54. plugin: static_map
  55. source: roles
  56. default_value: 2
  57. map:
  58. 1: anonymous
  59. 2: authenticated
  60. 3: admin
  61. 4: root
  62. 5: contact_company
  63. 6: adherent
  64. 7: free_user
  65. 8: premium
  66. 9: unverified
  67. 10: student
  68. 11: alpha_testeur
  69. 12: translator
  70. 13: admin_showroom
  71. field_company:
  72. plugin: migration_lookup
  73. migration: d7_taxonomy_term_company
  74. source: field_company
  75. no_stub: true
  76. field_showroom:
  77. plugin: migration_lookup
  78. migration: d7_taxonomy_term_showroom
  79. no_stub: true
  80. source: field_showroom
  81. field_memo: field_memo
  82. destination:
  83. plugin: 'entity:user'
  84. migration_dependencies:
  85. required:
  86. - d7_allpublicfiles
  87. - d7_taxonomy_term_showroom
  88. - d7_taxonomy_term_company