Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / file / migration_templates / d6_upload_field.yml
1 id: d6_upload_field
2 label: Upload field configuration
3 migration_tags:
4   - Drupal 6
5 source:
6   # We do an empty source and a proper destination to have an idmap for
7   # migration_dependencies.
8   plugin: md_empty
9   provider: upload
10   constants:
11     entity_type: node
12     type: file
13     name: upload
14     cardinality: -1
15     display_field: true
16 process:
17   entity_type: 'constants/entity_type'
18   field_name: 'constants/name'
19   type: 'constants/type'
20   cardinality: 'constants/cardinality'
21   'settings/display_field': 'constants/display_field'
22 destination:
23   plugin: entity:field_storage_config
24   dependencies:
25     module:
26       - file