Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / user / migrations / d6_user_contact_settings.yml
diff --git a/web/core/modules/user/migrations/d6_user_contact_settings.yml b/web/core/modules/user/migrations/d6_user_contact_settings.yml
new file mode 100644 (file)
index 0000000..7777d37
--- /dev/null
@@ -0,0 +1,24 @@
+id: d6_user_contact_settings
+label: User contact settings
+migration_tags:
+  - Drupal 6
+  - Content
+source:
+  plugin: d6_user
+  constants:
+    key: contact
+    module: contact
+process:
+  uid: uid
+  key: 'constants/key'
+  module: 'constants/module'
+  settings:
+    plugin: skip_row_if_not_set
+    index: contact
+    source: data
+
+destination:
+  plugin: user_data
+migration_dependencies:
+  required:
+    - d6_user