Loading core/modules/migrate/src/Plugin/migrate/process/Download.php +15 −9 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ * * @code * process: * path_to_file: * plugin: download * source: * - source_url Loading @@ -41,16 +42,21 @@ * * @code * process: * uri: * plugin: download * source: * - source_url * - destination_uri * file_exists: rename * # other fields ... * destination: * plugin: entity:file * @endcode * * This will download source_url to destination_uri and ensure that the * destination URI is unique. If a file with the same name exists at the * destination, a numbered suffix like '_0' will be appended to make it unique. * The destination URI is saved in a file entity. * * @MigrateProcessPlugin( * id = "download" Loading Loading
core/modules/migrate/src/Plugin/migrate/process/Download.php +15 −9 Original line number Diff line number Diff line Loading @@ -31,6 +31,7 @@ * * @code * process: * path_to_file: * plugin: download * source: * - source_url Loading @@ -41,16 +42,21 @@ * * @code * process: * uri: * plugin: download * source: * - source_url * - destination_uri * file_exists: rename * # other fields ... * destination: * plugin: entity:file * @endcode * * This will download source_url to destination_uri and ensure that the * destination URI is unique. If a file with the same name exists at the * destination, a numbered suffix like '_0' will be appended to make it unique. * The destination URI is saved in a file entity. * * @MigrateProcessPlugin( * id = "download" Loading