In this session we will look at some of the cool stuff you can do with Twig in Drupal 8. Topics include:
- 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 structured in Drupal 8, some tips for structuring theme files, and more.
This session is low on slides and high on code samples. We'll spend most of the session looking at real template files and examining all the ways twig can help you to structure your code.