Building a custom migration in Drupal 8, Part 5: Paragraphs

 
In the last post, we migrated our uploaded images and attachments by creating a custom file migration. We explored the process section of our migration *.yml, and enhanced it with custom mappings. We leveraged Drupal 8's powerful process plugin system to even further customize our migrations. We found out we could chain migrations together through the migration_lookup plugin. Finally, we created and ran a simple node migration. So that's it, right? Series over? Heck no! In this part,

Building a custom migration in Drupal 8, Part 4: Files and Content

 
In the last post, we finally wrote and executed our first migrations. We performed a dependency mapping to determine we needed to first migrate roles, then our users. We created new migrations in *.yml directly by searching our Drupal core directory for useful migration_templates. We're four parts in, and we have yet to migrate any nodes! Argh! Can we just start migrating nodes already!? File migrations It's really tempting at this point to jump in and start writing a migration for some of your...

Building a custom migration in Drupal 8, Part 3: Users and Roles

 
In the last post, we laid the technical foundation necessary to create migrations. We installed the Migrate Plus and Migrate Tools modules to support our migrations. We imported our Drupal 7 database locally, and configured settings.php with connection credentials. Finally, we created a migration group to use those connection credentials. But we still haven't migrated any content as of yet. Let's change that. Where to start? Now that we're ready to start creating custom migrations, we...

Finding what we can where we can

 
On my drive home tonight I was listening to an episode of ABC Radio's All in the Mind program, an episode called "Placenta Brain: the cognitive burden of pregnancy?". Amid all the talk of whether being pregnant induces cognitive impairment[1], this exchange struck me as relevant from an autistic perspective. Mary Ann Stark: We all use both voluntary and involuntary attention and the involuntary attention - or what we call fascination - is where you can't help but be attracted to a certain stimuli.

Building a custom migration in Drupal 8, Part 2: Tools and Modules

 
In the last post we set the stage to build a custom migration in Drupal 8. We installed Drupal 8 locally, and performed some initial, basic configuration. We didn’t get very far in technical tasks, but we spent a lot of time revisiting and rethinking our previous design choices. At this point you should have an idea of how you want your new site to work. Work, not look. We’re interested in functional details, content types, organizational strategies, that sort of thing. Visual appearance is a...

Building a custom migration in Drupal 8, Part 1: Getting started

 
Unlike previous versions, there’s no real way to “upgrade” to Drupal 8. Instead, you set up a completely new Drupal 8 site, then migrate your existing site to your new one. Given a database connection and a files directory, this auto-generated migration can attempt to replicate your entire site. This is great, but it also replicates all your previous design decisions, mistakes, and cruft. Instead, you may want to see moving to Drupal 8 as an opportunity to revisit previous decisions and...

Journaling and the importance of ritual

 
The last week was uncommonly punishing. In addition to a recent furor in the Drupal community, several server fires erupted at work, and my best friend’s Dad finally lost a year long battle with brain cancer. The funeral was Friday afternoon. Needless to say, I didn’t do much on Saturday. This morning I sat down at my desk, and tried to sort out what to do with my day. As I have for over a decade, one of my first thoughts was to open my paper journal and perform a brain-dump. For someone that is...

Review: Star Trek, The Lost Years

 
Like most fans, there are few Star Trek novels I keep telling myself I should get around to reading. Sarek. Imazadi. But the book I most looked forward to reading and procrastinated the most was The Lost Years. The cover and the blurb on the back make some great promises. It seduces you with that compelling gap between the last episode of The Original Series (TOS) and Star Trek: The Motion Picture (TMP). How did Kirk end up in the admiralty, even after he swore he’d never be taken out of the...

A dotdate???

 
Keep starting rambling journal entries with the intention of posting them, and they keep getting away or being abandoned for having lost relevance. Before this one suffers the same fate, as it is in strong danger of, I shall morph it into a bullet point list of what is going on in my life currently. The government is trying to balance the budget by clawing back money from welfare recipients, so they contacted me to the effect of claiming I owe them more than $900 from 2012. Filed an...