Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website] / web / core / modules / user / migrations / 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   - Configuration
7 source:
8   # We do an empty source and a proper destination to have an idmap for
9   # dependencies.
10   plugin: md_empty
11   constants:
12     entity_type: user
13     type: image
14     name: user_picture
15     cardinality: 1
16   source_module: user
17 process:
18   entity_type: 'constants/entity_type'
19   field_name: 'constants/name'
20   type: 'constants/type'
21   cardinality: 'constants/cardinality'
22 destination:
23   plugin: entity:field_storage_config
24   dependencies:
25     module:
26       - image