Twig - A Template Engine

Ujval Shah

Introduction:

Drupal 8 has many new exciting features, one of them is an open door to new template engine called, "Twig". This session will give you an understanding of the key concepts of Twig.

Topics:

Session will cover following topics:

  • Introduction of Twig
  • PHPTemplate v/s Twig theming
  • Working With Twig Templates
  • Debugging Twig templates
  • Modifying Variables in Twig Templates
  • Key Functions - In Twig Templates
  • Best practices - preprocess functions and templates
  • Theme Drupal 8 Vanilla Site

Session Format:

Session will be an interactive, which includes explanation of above topics and live demo of Theming Drupal 8 vanilla site during the session.

Targeted Audience:

  • Drupalers
  • Themers
  • Front End Developers

Session Track

Frontend

Experience Level

Beginner

Drupal Version