Items tagged Drupal 8

As I previously mentioned, I'd got a basic migration of configuration and content from the Drupal 6 Gallery Guide to a new Drupal 8 site up and running fairly quickly. It's clear that a lot of good work has been done on the various migrate modules. It can't have been easy, so thanks and kudos to the people involved.
After my first post about rebuilding The Gallery Guide on Drupal 8, it struck me that I wasn't being open enough.
First steps on migrating a Drupal 6 site to Drupal 8, sharing what I learn along the way.
For a new Drupal 8 site I needed to hook into the user registration process and add a role to users with email addresses on a specific domain. As with most tasks in Drupal 8, if you're used to working with procedural code from Drupal 7, working with object-oriented code can involve a bit of a mental shift, and sometimes figuring out which object is relevant involves a bit of digging around in the core code, or judicious use of a debugger.
As I start porting the modules I maintain to Drupal 8, I'm hitting a few places where things haven't been intuitive to me. I'll try to work on the documentation when I get a chance, but in the meantime I figured it would be worth writing up a few notes. A common task is creating a link, and adding classes and other attributes to it. The Responsive Share Buttons is basically just a block of links to social networks, so this was a key building block.
From a front-end point of view, most of the noise being made about changes from Drupal 7 to 8 have been around Twig and the libraries API. From my (limited) experience with Drupal 8 so far, both of these seem to be very positive changes.