migrate_plus.migration.d7_users.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. uuid: 17350b9c-18b6-4716-b944-c09e2dd67163
  2. langcode: fr
  3. status: true
  4. dependencies: { }
  5. _core:
  6. default_config_hash: 7HNGRfzA6vYrhJVsS7Wm-d_g6sucSx6c_K48dpghcks
  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. - 3
  50. -
  51. plugin: static_map
  52. source: roles
  53. default_value: 2
  54. map:
  55. 1: anonymous
  56. 2: authenticated
  57. 3: admin
  58. 4: editeur
  59. 5: root
  60. destination:
  61. plugin: 'entity:user'
  62. migration_dependencies:
  63. required:
  64. - d7_allpublicfiles