X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Ffile%2Fmigration_templates%2Fd6_file.yml;fp=web%2Fcore%2Fmodules%2Ffile%2Fmigration_templates%2Fd6_file.yml;h=0000000000000000000000000000000000000000;hp=6544d7d2f6fa00f2539f825e51624122a71f563c;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/file/migration_templates/d6_file.yml b/web/core/modules/file/migration_templates/d6_file.yml deleted file mode 100644 index 6544d7d2f..000000000 --- a/web/core/modules/file/migration_templates/d6_file.yml +++ /dev/null @@ -1,50 +0,0 @@ -# Every migration that references a file by Drupal 6 fid should specify this -# migration as an optional dependency. -id: d6_file -label: Public files -migration_tags: - - Drupal 6 -source: - plugin: d6_file - constants: - # The tool configuring this migration must set source_base_path. It - # represents the fully qualified path relative to which URIs in the files - # table are specified, and must end with a /. See source_full_path - # configuration in this migration's process pipeline as an example. - source_base_path: '' -process: - # If you are using both this migration and d6_user_picture_file in a custom - # migration and executing migrations incrementally, it is strongly - # recommended that you remove the fid mapping to avoid potential ID - # conflicts. For that reason, this mapping is commented out by default. - # fid: fid - filename: filename - source_full_path: - - - plugin: concat - delimiter: / - source: - - constants/source_base_path - - filepath - - - plugin: urlencode - destination_full_path: - plugin: file_uri - source: - - filepath - - file_directory_path - - temp_directory_path - - is_public - uri: - plugin: file_copy - source: - - '@source_full_path' - - '@destination_full_path' - filemime: filemime - # No need to migrate filesize, it is computed when file entities are saved. - # filesize: filesize - status: status - changed: timestamp - uid: uid -destination: - plugin: entity:file