Skip to main content

Design 4 Drupal, Boston

Main menu

  • About
  • Schedule
  • Sessions
  • Speakers
  • Sponsors
  • Volunteer

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

Speaker(s): Jorge Diaz

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

 

Session Track: Theming
Experience Level: Advanced
Drupal Version: Drupal 8.x
Date: 06/24/2017
Time: 2:30 - 3:20
Room: 32-124 (west flat classroom across from Auditorium)