Drupal 8 rebuilt its theming layer on top of the Symfony framework, replacing much of Drupal 7's approach with Twig templates, objects, and classes. This course walks through that shift step by step, with short lessons and real code examples rather than abstract theory.
How the course works
Each concept is introduced, then tested with a small hands-on example, including a running project where you convert a static HTML and CSS layout into a working Drupal 8 theme from start to finish.
What you'll learn
- What Drupal 8 themes are and how template files control markup
- Adding CSS and JavaScript, and using preprocess functions to shape data for templates
- The core ideas behind the Twig template engine
- Building a Drupal 8 theme from scratch
Basic HTML, CSS, and a little PHP are the only prerequisites, making it a fit for new Drupal 8 users as well as Drupal 7 developers moving to the newer theme system.