Mastering
 Drupal 8’s Twig

camp: DrupalCamp Cebu 2017, Cebu

A bar graph showing Drupal 8 templates use ~30% of available Twig features.

Drupal 8 rewrote all of its HTML templates using Twig. But Drupal only uses 30% of Twig's full power. In this session, we'll start with the basics and work our way through Twig's powerful feature set.

We’ll cover:

  • variables, drilling and filters
  • translation
  • control directives
  • extends, include, embed
  • debugging
Slides
D8Twig.pdf (644.86 KB)