August 2023
Intermediate to advanced
360 pages
7h 45m
English
Now that the demo website is fully styled, we can move on to some more advanced topics. The first one is the ability to extend Twig with custom functions and filters.
Twig is baked with a highly extensible framework that allows us to do customizations to simplify our templates by delegating the complex logic away from the theme layer.
In this chapter, we’re going to cover the following main topics:
To run the examples in this chapter, make sure to follow the instructions provided in Chapter 1, Setting Up a Local Environment.
You can find the code for this chapter in the GitHub repository: https://github.com/PacktPublishing/Modernizing-Drupal-10-Theme-Development ...
Read now
Unlock full access