Session Description

Drupal 8 uses Twig as its default templating engine. This has generated a lot of excitement but Twig isn't the only thing that has changed in the Drupal 8 Theme System - Twig has been a tool that has allowed us to make many other changes.

In this presentation I will give an overview of how markup should be printed in Drupal 8. I will also walk through some of the changes that have made outputting markup more complex and how to cope with them.

Topics in this session includes:

  • A high-level overview of the the theme system in Drupal 8 and how Twig works in the backend.
  • Using theme hook suggestions to cut down on custom code and have themers thanking you.
  • How to become friends with autoescaping without losing security





Drupal beginners


Session length

60 minutes

Session Assignment

SCW 206AB - BlackMesh
Saturday 2:30 pm - 3:30 pm

Session video