X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffile%2Fmigrations%2Fd6_upload.yml;fp=web%2Fcore%2Fmodules%2Ffile%2Fmigrations%2Fd6_upload.yml;h=1c34e5873cf83dd4ec5fe4a599a479790a36cb18;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/file/migrations/d6_upload.yml b/web/core/modules/file/migrations/d6_upload.yml new file mode 100644 index 000000000..1c34e5873 --- /dev/null +++ b/web/core/modules/file/migrations/d6_upload.yml @@ -0,0 +1,32 @@ +id: d6_upload +label: File uploads +migration_tags: + - Drupal 6 + - Content +source: + plugin: d6_upload +process: + nid: nid + vid: vid + langcode: + plugin: user_langcode + source: language + fallback_to_site_default: true + type: type + upload: + plugin: sub_process + source: upload + process: + target_id: + plugin: migration_lookup + migration: d6_file + source: fid + display: list + description: description +destination: + plugin: entity:node +migration_dependencies: + required: + - d6_file + - d6_node + - d6_upload_field_instance