Drupal 8 CSV Importer with Migrate
Session slides: https://arh1.github.io/presentation-d8-migrate-csv-importer/
The workhorse Migrate module was moved into core for Drupal 8 with great fanfare, and much attention has been paid to its use as a way to migrate a site to D8 from earlier versions of Drupal. In addition to one-time migrations, Migrate is an excellent tool for recurring data imports as well, and its inclusion in core gives us that much stronger of a foundation on which to build importers moving forward. This session will walk through building a CSV importer in Drupal 8, touching on many powerful aspects of Migrate in core along the way.
- The building blocks: Migrate, Migrate Plus, Migrate Tools, Migrate Source CSV
- yaml/config structure for injecting configuration
- CLI migration commands
- Custom migration plugins
We'll spend most of our time on custom plugins, and particularly process plugins and examples of how they can be used to transform data from the source format into the destination format.
You'll walk away from the session with a new appreciation for the Migrate ecosystem and all the tools you need to create your own CSV importer.