d6_user.yml

Same filename in other branches
  1. 9 core/modules/user/migrations/d6_user.yml
  2. 8.9.x core/modules/user/migrations/d6_user.yml
  3. 10 core/modules/user/migrations/d6_user.yml
core/modules/user/migrations/d6_user.yml

File

core/modules/user/migrations/d6_user.yml

View source
  1. id: d6_user
  2. label: User accounts
  3. audit: true
  4. migration_tags:
  5. - Drupal 6
  6. - Content
  7. source:
  8. plugin: d6_user
  9. process:
  10. # If you are using this file to build a custom migration consider removing
  11. # the uid field to allow incremental migrations.
  12. uid: uid
  13. name: name
  14. pass: pass
  15. mail: mail
  16. created: created
  17. access: access
  18. login: login
  19. status: status
  20. timezone:
  21. plugin: user_update_7002
  22. source: timezone
  23. langcode:
  24. plugin: user_langcode
  25. source: language
  26. fallback_to_site_default: false
  27. preferred_langcode:
  28. plugin: user_langcode
  29. source: language
  30. fallback_to_site_default: true
  31. preferred_admin_langcode:
  32. plugin: user_langcode
  33. source: language
  34. fallback_to_site_default: true
  35. init: init
  36. roles:
  37. plugin: migration_lookup
  38. migration: d6_user_role
  39. source: roles
  40. user_picture:
  41. plugin: migration_lookup
  42. migration: d6_user_picture_file
  43. source: uid
  44. no_stub: true
  45. destination:
  46. plugin: entity:user
  47. md5_passwords: true
  48. migration_dependencies:
  49. required:
  50. - d6_user_role
  51. optional:
  52. - language
  53. - default_language
  54. - d6_user_picture_file
  55. - user_picture_entity_display
  56. - user_picture_entity_form_display

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.