diff core/modules/user/migrations/d6_user.yml @ 0:c75dbcec494b

Initial commit from drush-created site
author Chris Cannam
date Thu, 05 Jul 2018 14:24:15 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/core/modules/user/migrations/d6_user.yml	Thu Jul 05 14:24:15 2018 +0000
@@ -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