Drupal Dev Days Lisbon 2018

The Myths, Musts and Migraines of Migrations

This presentation includes

  • Description of Source, Process, Destination
  • Main modules and Command line tools
  • Anatomy of a custom module
  • Migration groups
  • Migration source: db settings and custom plugin
  • Migration config
  • Analyze the source data, set estimations, client goals and planning
  • Processors
  • Link migrations together (migration_lookup)
  • Chaining process plugins
  • Create a custom process plugin and configure it.

Writing dynamic migrations

Migrations are stored as configurations or in templates. When migrations are in config, they are confined to that particular use case only and it’s quite complex to dynamically change runtime behavior or it to retain execution context.

Do you know how are Drupal 7 to Drupal 8 migrations generated? The answer is “Derivers.”

A simple use case of importing multilingual content from multiple CSV files can easily be handled by specifying migration templates which would dynamically generate migrations.