Skip to main content
profile image
Live Updates

The fewer TWIG files I see, the better I like your theme

Design & Front-end
Jorge Diaz
Audience Experience Level
Drupal Intermediate

Drupal 8 has a new powerful theming engine: TWIG. Twig is a powerful template engine that comes from the Symfony framework and is amazing for theming. Either if you come from tpl.php files or are new to Drupal 8, there are some things you need to be aware of.

Theming in Drupal 8 is way more than creating a template file and start building layouts. While Twig shows up as a solid foundation to build you themes on top of, there are many Drupal-specific features that are part of the actual "Drupal theming process" and it is not directly related to the template files.

In this session we will talk about:

  • Advantages and disadvantages of TWIG in Drupal
  • Using Twig in Views
  • Views Based Layouts.
  • Display Suite & Layout Plugin
  • Theme maintainability
  • Configuration Management for themers
  • Drush for themers
  • Overall Theming Process