Example Migration - Media Gallery Drupal 6 to 8 Upgrade
This module contains all the migration configurations I used to upgrade a Drupal 6 media gallery website to Drupal 8.
The Drupal 6 site had the following content types, taxonomies and relations:
- Gallery (content type)
- Image (content type)
- Related to Gallery via node reference
- Related to 'Names' Taxonomy
- 'Names' Taxonomy
- Video or Audio Clip (not migrated)
The Drupal 8 site was structured slightly differently to use the Media Entity suite of modules:
- Gallery (node type)
- Contains Image field that relates to image media entities
- Image (image media entity)
- Related to 'Names' taxonomy
- 'Names' Taxonomy
- Video Clip (video media entity)
- Audio Clip (audio media entity)
I published this module for reference in this blog post, which walks through the entire migration development process and refers back to the code here: Migrating 20,000 images, audio clips, and video clips into Drupal 8.
License
GPLv2
Author Information
This module was created in 2016 by Jeff Geerling, author of Ansible for DevOps.

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.
