Markup the Drupal 8 way

Markup the Drupal 8 way

Drupal 8 uses Twig as its default templating engine. This has generated a lot of excitement but Twig isn't the only thing that has changed in the Drupal 8 Theme System - Twig has been a tool that has allowed us to make many other changes.

In this presentation I will give an overview of how markup should be printed in Drupal 8. I will also walk through some of the changes that have made outputting markup more complex and how to cope with them.

Topics in this session includes:

  • A high-level overview of the theme system in Drupal 8 and how Twig works in the backend.
  • Using render elements and theme hook suggestions to cut down on custom code and have themers thanking you.
  • How to become friends with autoescaping without losing security
Speaker(s): 
lauriii
Session Track term: 
Experience level: 
Intermediate
Room Number: