Macros are one of the most important features of the Twig template language to avoid repetitive contents. In Twig 2.11, usage of macros was simplified and other features were added to help you work with macros.
Automatic macro import¶ Macros are similar to PHP functions because you can pass...