Skip to content
Drupal 6 to Drupal 8 media gallery example migration.
Branch: master
Clone or download
Latest commit dec71bd Oct 4, 2016
Type Name Latest commit message Commit time
Failed to load latest commit information.
config/install Initial commit. Oct 4, 2016
src/Plugin/migrate/source Initial commit. Oct 4, 2016 Initial commit. Oct 4, 2016 Initial commit. Oct 4, 2016
pix_migrate.install Initial commit. Oct 4, 2016

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.



Author Information

This module was created in 2016 by Jeff Geerling, author of Ansible for DevOps.

You can’t perform that action at this time.