Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / user / migrations / d6_user.yml
diff --git a/web/core/modules/user/migrations/d6_user.yml b/web/core/modules/user/migrations/d6_user.yml
new file mode 100644 (file)
index 0000000..b3d8453
--- /dev/null
@@ -0,0 +1,56 @@
+id: d6_user
+label: User accounts
+audit: true
+migration_tags:
+  - Drupal 6
+  - Content
+source:
+  plugin: d6_user
+process:
+  # If you are using this file to build a custom migration consider removing
+  # the uid field to allow incremental migrations.
+  uid: uid
+  name: name
+  pass: pass
+  mail: mail
+  created: created
+  access: access
+  login: login
+  status: status
+  timezone:
+    plugin: user_update_7002
+    source: timezone
+  langcode:
+    plugin: user_langcode
+    source: language
+    fallback_to_site_default: false
+  preferred_langcode:
+    plugin: user_langcode
+    source: language
+    fallback_to_site_default: true
+  preferred_admin_langcode:
+    plugin: user_langcode
+    source: language
+    fallback_to_site_default: true
+  init: init
+  roles:
+    plugin: migration_lookup
+    migration: d6_user_role
+    source: roles
+  user_picture:
+    plugin: migration_lookup
+    migration: d6_user_picture_file
+    source: uid
+    no_stub: true
+destination:
+  plugin: entity:user
+  md5_passwords: true
+migration_dependencies:
+  required:
+    - d6_user_role
+  optional:
+    - language
+    - default_language
+    - d6_user_picture_file
+    - user_picture_entity_display
+    - user_picture_entity_form_display