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