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 / user_picture_field.yml
1 id: user_picture_field
2 label: User picture field configuration
3 migration_tags:
4   - Drupal 6
5   - Drupal 7
6 source:
7   # We do an empty source and a proper destination to have an idmap for
8   # dependencies.
9   plugin: md_empty
10   constants:
11     entity_type: user
12     type: image
13     name: user_picture
14     cardinality: 1
15   source_module: user
16 process:
17   entity_type: 'constants/entity_type'
18   field_name: 'constants/name'
19   type: 'constants/type'
20   cardinality: 'constants/cardinality'
21 destination:
22   plugin: entity:field_storage_config
23   dependencies:
24     module:
25       - image