
We’re excited to hear your project.
Let’s collaborate!
About to migrate your website from... Drupal 7 to Drupal 8? Or maybe from an external data source to Drupal 8? The good news is that Drupal Migrate API, the migration system in Drupal 8, is extremely powerful and conveniently flexible.
The "trick" is that you should be familiar with all its robust features, hidden gotchas and planning steps to take.
But, fear not: we've got you covered.
Here's a quick-start guide to migrating in Drupal 8, which covers both Drupal-to-Drupal and external data store-to Drupal migration scenarios.
It's Drupal's robust migration system that enables you to pull data from various sources and to "inject" them into... Drupal (duh).
And the entire framework is made mostly of... migration plugins:
It's these migration plugins that are responsible for extracting, transforming and fitting data into the Drupal 8 destination website.
One of the Drupal Migrate API's most powerful features is extracting content from... pretty much anywhere:
The overly simplified Drupal 8 migration process would look something like this:
Is there no way to pull content from your source? Then you'll need to write your custom source plugin to map the extracted data to its destination fields.
A plugin that suits your own migration scenario to the slightest detail.
For instance, mapping the titles and subtitles of the... blog posts on your current WordPress website to the article node type's titles and subtitle fields in your Drupal 8 destination website.
IMAGE Image by Ulrike Mai from Pixabay
You'll need to define the specific fields in your source data to the Drupal 8 Migrate API so that it should perform a proper mapping.
They play a critical role in any Drupal 8 migration, being responsible for converting the source data into the appropriate format.
Here are just a few examples of process plugins "in action" during the migration process:
Image source: Drupal.org
The unparalleled flexibility of the Drupal Migrate API resides in its way of handling each operation... the Drupal way.
It's "smart" enough to automatically import and validate the source data into the right fields of the destination site. It's designed to "understand" how to adjust the imported data to the various fields, entities, and configurations specific to your Drupal 8 destination website.
In short: the Drupal 8 migrate system makes it easy for you to handle all migration operations the... "Drupal way".
Now, let's say that, although extremely powerful, the Drupal Migrate API framework doesn't meet all your functionality requirements. You can always enhance its flexibility with migration modules that serve your particular migration needs.
Here are just 3 examples:
It adds extra features to the framework such as an URL source plugin that makes it possible for you to pull data from XML, Soap, and JSON file formats.
The module provides tools for various running and managing migration operations. Here are just some of the Drush commands triggering such operations:
It enables you to import CSV files to your Drupal 8 destination website.
It makes it possible to extract data from spreadsheet files...
Now, let's talk facts.
Or, better said: the essential steps to take for migrating your content from an external source to Drupal 8.
Note: your config files should get stored in “my_migration_module/config/install/“.
If it's a Drupal-to-Drupal migration challenge that you're facing, here's the whole process brought down to its key steps:
The Drupal Migrate API is highly flexible and, therefore, very powerful.
It's designed for a whole variety of migration scenarios, of different levels of complexity: from importing a collection of blog posts to... pulling hundreds of thousands of nodes.
And yet, with great flexibility comes great complexity:
Since every website's user-generated content architecture is different, every Drupal 8 migration is highly website-specific.
With no "one-size-fits-all" type of standards at hand, you're at the same time free and "constrained" to... customize your migration to your specific needs.
Better said: with great flexibility comes... great(er) responsibility.
Main image by wandaquinn from Pixabay
We’re excited to hear your project.
Let’s collaborate!