DrupalCamp NJ 2016

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 the theme system in Drupal 8 and how Twig works in the backend.
  • Using theme hook suggestions to cut down on custom code and have themers thanking you.
  • How to become friends with autoescaping without losing security

 

Audience: 
Advanced (sysadmin, module developer)
Track: 
Theming & Front End
Version: 
Drupal 8
Room: 

Diamond Sponsor

Platinum Sponsors

Corporate Supporters

Gold Sponsors

Silver Sponsors