Last updated February 18, 2021
Module Development8.9.x/9.3.x

We recommend creating a new module to house the code that makes up your custom Drupal-to-Drupal migration. This will allow you to use version control to manage the migration and helps to keep things organized. In this tutorial we'll:

  • Create a new module
  • Export the migration configuration entities generated by drush migrate-upgrade as YAML files
  • Copy the files that represent the migrations we're interested in into our new module
  • Customize copied files

By the end of this tutorial you should have a new module that contains the starting migration YAML files for your custom migration.