Workflows and benefits of managing Drupal migrations as configuration entities

Submitted by dinarcon on Thu, 08/22/2019 - 23:00

In the last blog post we were introduced to managing migration as configuration entities using Migrate Plus. Today, we will present some benefits and potential drawbacks of this approach. We will also show a recommended workflow for working with migration as configuration. Let’s get started.

Tags

Defining Drupal migrations as configuration entities with the Migrate Plus module

Submitted by dinarcon on Wed, 08/21/2019 - 23:00

Today, we are going to talk about how to manage migrations as configuration entities. This functionality is provided by the Migrate Plus module. First, we will explain the difference between managing migrations as code or configuration. Then, we will show how to convert existing migrations. Finally, we will talk about some important options to include in migration configuration entities. Let’s get started.

Tags

Migrating Microsoft Excel and LibreOffice Calc files into Drupal

Submitted by dinarcon on Tue, 08/20/2019 - 23:00

Today we will learn how to migrate content from Microsoft Excel and LibreOffice Calc files into Drupal using the Migrate Spreadsheet module. We will give instructions on getting the module and its dependencies. Then, we will present how to configure the module for spreadsheets with or without a header row. There are two example migrations: images and paragraphs. Let’s get started.

Tags

Migrating Google Sheets into Drupal

Submitted by dinarcon on Mon, 08/19/2019 - 23:00

Today we will learn how to migrate content from Google Sheets into Drupal using the Migrate Google Sheets module. We will give instructions on how to publish them in JSON format to be consumed by the migration. Then, we will talk about some assumptions made by the module to allow easier plugin configurations. Finally, we will present the source plugin configuration for Google Sheets migrations. Let’s get started.

Tags

Adding HTTP request headers and authentication to remote JSON and XML in Drupal migrations

Submitted by dinarcon on Sun, 08/18/2019 - 23:00

In the previous two blog posts we learned to migrate data from JSON and XML files. We presented to configure the migrations to fetch remote files. In today's blog post, we will learn how to add HTTP request headers and authentication to the request. .

Tags

Migrating XML files into Drupal

Submitted by dinarcon on Sat, 08/17/2019 - 23:00

Today we will learn how to migrate content from a XML file into Drupal using the Migrate Plus module. We will show how to configure the migration to read files from the local file system and remote locations. We will also talk about the difference between two data parsers provided the module. The example includes node, images, and paragraphs migrations. Let’s get started.

Tags

Migrating CSV files into Drupal

Submitted by dinarcon on Thu, 08/15/2019 - 23:00

Today we will learn how to migrate content from a Comma-Separated Values (CSV) file into Drupal. We are going to use the latest version of the Migrate Source CSV module which depends on the third-party library `league/csv`. We will show how configure the source plugin to read files with or without a header row. We will also talk about a new feature that allows you to use stream wrappers to set the file location. Let’s get started.

Tags

Introduction to paragraphs migrations in Drupal

Submitted by dinarcon on Wed, 08/14/2019 - 23:00

Today we will present an introduction to paragraphs migrations in Drupal. The example consists of migrating paragraphs of one type, then connecting the migrated paragraphs to nodes. A separate image migration is included to demonstrate how they are different. At the end, we will talk about behavior that deletes paragraphs when the host entity is deleted. Let’s get started.

Tags

Migrating addresses into Drupal

Submitted by dinarcon on Tue, 08/13/2019 - 23:00

Today we will learn how to migrate addresses into Drupal. We are going to use the field provided by the Address module which depends on the third-party library `commerceguys/addressing`. When migrating addresses you need to be careful with the data that Drupal expects. The address components can change per country. The way to store those components also varies per country. These and other important consideration will be explained. Let’s get started.

Tags