Migration Migraine

jgreenberg

Even though migration has come a long way since D7, there are still numerous opportunities for headaches.

This session is a case study of three issues I faced and how I resolved them:

- Needing a video field type widget, prior to the release of Media, that could be added to any content type on any site.

- Migrating D7 Location field content to D8 address fields

- Populating the value portion of a body field from its D7 counterpart, but the summary portion from a completely separate field

The solutions make use of a field type widget, a migration plugin, and a hooked migration.

Code samples used in the presentation can be found at: https://github.com/jayengreen/migration_migraine


https://www.drupalgovcon.org/2019/program/sessions/migration-migraine

Drupal is a registered trademark of Dries Buytaert.