Migrate Files (extended)
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Defines additional migrate plugins for file imports:
File Import
Imports a file from an local or external source. Files will be downloaded or copied from the source if necessary and a file entity will be created for it. The file can be moved, reused, or set to be automatically renamed if a duplicate exists.
Basically this process plugin makes it so that you can copy and import your files in one migration rather than having a separate one for Files. When using migrate as an importer for content on an on-going schedule, this can be handy to just grab everything in one fell-swoop.
Image Import
Imports an image from an local or external source. Extends the file_import plugin (described above) and adds the following additional optional configuration keys for the image alt, title, width and height attributes.
Remote File Url
Create a file entity with a remote url without downloading the file. It is assumed if you're using this process plugin that you have something in place to properly handle the external uri on the file object (e.g. the Remote Stream Wrapper module).
For all the plugins, see the corresponding plugin class file for a detailed description of the config and examples.