Drupal 8 Module Port - Introduction

This is a blog about my recent experiences of porting the Instagram Block module from Drupal 7 to Drupal 8. Since Drupal 8 is still in alpha, APIs are subject to change. Also I may not be using best practises so commenting is heavily appreciated!

I have been playing with Drupal 8 for a couple of days now (what else would you do during a 2 week holiday?), and I really wanted to share what I have learned so far. So I decided to port a module that I had built previously and show every different part of the transformation to Drupal 8.

As it turns out, Instagram Block module actually quite nicely allows to demonstrate a lot of the new areas of Drupal 8, including theming with twig, annotation, symfony menu routing, and configuration management. So here are the links to the individual posts:

  1. Module Basics

  2. Pages and Menu routing

  3. Forms

  4. Blocks and the Plugin API

  5. Theming and Twig