Templating with Twig in Drupal 8

megan_m's picture
2018-01-18 19:00 - 21:00 America/Toronto
Event type: 
User group meeting

In this session we will look at some of the cool stuff you can do with Twig in Drupal 8. Topics include:

  • What is twig?
  • Twig filters
  • Drupal specific filters
  • Using variables and conditionals
  • Adding classes
  • Creating paths, urls, and links
  • Attaching libraries
  • Embeds and Includes

Along the way you'll also see how themes are structure in Drupal 8, some tips for structuring theme files, and more.