Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Migrate Source Classes

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:00
    Migrate Source Classes with Joe Shindelar.
  • 0:07
    JOE SHINDELAR: One of the really powerful things
  • 0:09
    about the migrate module is that once you understand the concepts
  • 0:12
    of source and destination, it's really easy to swap out
  • 0:15
    the source for something different.
  • 0:18
    So far, all of our source data has come from a MySQL database.
  • 0:23
    What I'd like to do in this lesson is look at some of the other types
  • 0:26
    of source data that the migrate module allows us to access,
  • 0:29
    including CSV files, JSON data, and XML data.
  • 0:35
    We're going to start by taking a look at the documentation

Migrate Source Classes


So far all the data we've been migrating has come from a MySQL database but Migrate supports a number of other data sources which we can access by using a different source migration class. In this lesson we'll look at the source migration classes that are available with the migrate module and talk about what each one could be used for. Then we'll implement a migration that imports data from a CSV file since that's another common way of receiving source data.

For your convenience, we've included a copy of the sample data in the companion files. This is a duplicate of the data from lesson Set Up Migrate Demo Site and Source Data. If you've been following the lessons in order, you should not need to download the sample data set again.

Log in or sign up to download companion files.