migrate_plus.migration.d7_users.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. uuid: ab689e06-9590-41ed-aae5-86c0b58a7cbb
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: mR9tehyJ35Hg9p6fRCGwtr-Whd1VHnD1_F-M9944bxc
  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. - Popsu
  15. migration_group: popsu
  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. - manager-popsu@renaud-cuny.com
  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. init: init
  41. roles:
  42. -
  43. plugin: skip_on_value
  44. equals: true
  45. source: roles
  46. method: row
  47. value:
  48. - 5
  49. -
  50. plugin: static_map
  51. source: roles
  52. default_value: 2
  53. map:
  54. 1: anonymous
  55. 2: authenticated
  56. 3: admin
  57. 4: editeur
  58. 5: root
  59. destination:
  60. plugin: 'entity:user'
  61. migration_dependencies:
  62. required:
  63. - d7_allpublicfiles