Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / core / modules / user / migrations / d7_user.yml
1 id: d7_user
2 label: User accounts
3 audit: true
4 migration_tags:
5   - Drupal 7
6   - Content
7 class: Drupal\user\Plugin\migrate\User
8 source:
9   plugin: d7_user
10 process:
11   # If you are using this file to build a custom migration consider removing
12   # the uid field to allow incremental migrations.
13   uid: uid
14   name: name
15   pass: pass
16   mail: mail
17   created: created
18   access: access
19   login: login
20   status: status
21   timezone: timezone
22   langcode:
23     plugin: user_langcode
24     source: entity_language
25     fallback_to_site_default: false
26   preferred_langcode:
27     plugin: user_langcode
28     source: language
29     fallback_to_site_default: true
30   preferred_admin_langcode:
31     plugin: user_langcode
32     source: language
33     fallback_to_site_default: true
34   init: init
35   roles:
36     plugin: migration_lookup
37     migration: d7_user_role
38     source: roles
39   user_picture:
40     -
41       plugin: default_value
42       source: picture
43       default_value: null
44     -
45       plugin: migration_lookup
46       migration: d7_file
47 destination:
48   plugin: entity:user
49 migration_dependencies:
50   required:
51     - d7_user_role
52   optional:
53     - d7_field_instance
54     - d7_file
55     - language
56     - default_language
57     - user_picture_field_instance
58     - user_picture_entity_display
59     - user_picture_entity_form_display