Selected Session

Drupal 8 Component Based Theming

Speaker(s)
Lauri Eskola
Level of expertise
Advanced
Session Type
Regular (45 min)
Track(s)
Frontend & Design
Day
Friday
Time Slot
-
Room
Parsenn

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 generated in Drupal 8 using component based approach.

Topics in this session includes:

  • Basic understanding of the concept of component based theming
  • A high-level overview of the theme system in Drupal 8 and how Twig works in the backend
  • Twig basics, debugging, and how to integrate Drupal into your component library
  • Practical examples how to get over some of the most common struggles that developers face while theming Drupal