This is a past event. Please join us for eZ Publish Summer Camp this year.

Workshop:  Writing custom Twig extensions

The Twig template engine allows to register custom tags, filters, tests, operators, global variables and functions. This way you can add your own features to Twig and move often used code into a reusable class.You will learn how to do that, what the difference between these language constructs is, and get to know the internal workings of Twig.

Slides

github.com/liip-forks/symfony-standard/blob/workshop-twig-extensions/slides/writing-custom-twig-extensions/slides_compiled.html#1

Code

github.com/liip-forks/symfony-standard/tree/workshop-twig-extensions

Solutions for Exercises

github.com/liip-forks/symfony-standard/pull/6

Tobias_Shultze

SKIPPERS