[T]alking about [W]hat [I]s [G]reat about TWIG
summary
Drupal 8 uses Twig for theming and the talk gives concrete how‑tos: register templates with hook_theme registration (themes) or the module templates folder (modules), use inheritance and extend instead of copy‑paste to avoid duplication, and build responsive images with srcset in render arrays. Performance wins come from BigPipe (stable in 8.3) and proper render array caching (keys, contexts, tags, max_age). Debug with Kint (limit levels in preprocess), Symfony VarDumper or Xdebug to avoid out‑of‑memory crashes.
AI-written summary · about
chapters (12)
- 0:00Introduction
- 1:07Twig versus decoupled front end
- 7:52Why choose Twig
- 13:09Custom Twig templates
- 16:46Template inheritance
- 18:51Twig basics and filters
- 24:08Render arrays and caching
- 27:43Debugging Twig templates
- 33:23Twig coding standards
- 35:11Staying updated on Twig
- 37:19Level up your skills
- 38:44Q&A
related talks
01h 01mDrupal 8 theme best practices - here's where we burried the bodies
44mWhat the frontend? Get the most out of Twig, render arrays and D8's caching
54mTaming Twig
17mDive deep into Drupal 8 Render API
49mLiving Styleguide in your Drupal projects: Benefit from component driven design.
53mState of Drupal 8 frontend
01h 10mJust Right: Goldilocks and CMS theme systems
45mTYPO3 Template Engine Integration Explained
