migrate_plus.migration.d7_users.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. uuid: f436e9b2-bb3c-4334-b7aa-bdf7c56d5591
  2. langcode: en
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: A9EdRJlr8o5qMY-JbJU_n7Cv0Java4lZouu__eONDWM
  7. id: d7_users
  8. class: Drupal\user\Plugin\migrate\User
  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_user
  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. user_picture:
  72. -
  73. plugin: default_value
  74. source: picture
  75. default_value: null
  76. -
  77. plugin: migration_lookup
  78. migration: d7_file
  79. field_company:
  80. plugin: migration_lookup
  81. migration: d7_taxonomy_term_company
  82. source: field_company
  83. field_showroom:
  84. plugin: migration_lookup
  85. migration: d7_taxonomy_term_showroom
  86. source: field_showroom
  87. field_memo: field_memo
  88. destination:
  89. plugin: 'entity:user'
  90. migration_dependencies:
  91. required:
  92. - d7_allpublicfiles