Drupal 8 features many enhancement, one of the most-prominent being the implementation of the Twig templating system. But are you really getting the most out of your Twig? If you’re not using Twig extensions, then no--you’re not.
Twig extensions allow developers to add processing capabilities to Twig’s template rendering via via custom filters and functions. The Twig Tweak module is a popular solution for adding common functionality to Twig, and as developers we can provide even more power to the folks working with our templates.
This is a quick session that will cover:
- Implementing custom Twig extensions
- Functionality provided by the core and contrib extensions
- Practical examples of functionally possibly through Twig extensions
- Pros and cons of other template wrangling methods