Upgrading to Drupal 8: Benefits and Gotchas
You've found an old blogpost! Drupal 8 reached end of life on November 2, 2021.
Read about reasons to upgrade to Drupal 10 or our Drupal 7 to Drupal 10 migration guide instead.
You've found an old blogpost! Drupal 8 reached end of life on November 2, 2021.
Read about reasons to upgrade to Drupal 10 or our Drupal 7 to Drupal 10 migration guide instead.
We just upgraded our site to Drupal 8, and a big part of that was migrating content. Most content was in JSON files or SQL dumps, which are supported by Drupal's migrate module. But what about images and other files? How could we bring those along?
We'll show how to write a custom migrate process plugin!
If you're a Drupal developer who's on the fence about trying Drupal 8, we hope this post will push you to go for it... or inform you that it's better to wait, if your project depends on a module that's not there yet.
NOTE: This post is based on the current status of all mentioned projects as of March 30th, 2016.
The Views module is in core now, and it's stable and ready to go! This is very different than previously, when Drupal 7's adoption was blocked for many months due to unavailability of Views.
Updated on June 15, 2022
This post is based on a talk I gave at DrupalCon Barcelona and this year at MidCamp. You can see a video version of the talk below.
For themers, there are lots of exciting new features in Drupal 8: the Twig tempting system, libraries for loading assets, and the replacement of theme functions with templates. There are also a new set of core themes that come with Drupal 8.
Drupal 8 theming has lots of new features, one of the most exciting is the addition of libraries. You can use libraries to add stylesheets and javascript to your theme, globally or in particular situations.
It's 2016, we are already in the "Mobile Era" and we all love how our modern sites fit and adapt to any screen. It's amazing how a website can stretch to the 52 inches of a Samsung TV and also look good on your mobile phone. But you know what? There are 20 years of "non-mobile" websites out there screaming to be upgraded. And the first word that comes to mind is "redesign".
I needed to create a new webform on a production site recently. But as a dev, I don't have direct access to the production admin backend; I'm only allowed to push code changes and let the client's team migrate them to prod via drush updb
. So I'm supposed to export the webform configuration to code, and deploy it via an update hook, but how?
The web is full of information! Your web sites probably already use many APIs for maps, Twitter, IP geolocation, and more. But what about data that's on the web, but doesn't have a readily available API?
As a good Drupal developer, one of your New Year's resolutions should be to learn more PHP features. Today, we'll talk about iterating over tree-structured data using the awkwardly-named class RecursiveIteratorIterator.