Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
How to use twig function extensions inside another module or plugin?
Say I created filterCats() twig function and it is already available in twig
Is it possible to use it inside a module or plugin? How?
Yes, that is possible. If the module/plugin implementing the Twig function is correctly installed, that function will automatically be available anywhere Twig is rendered.
Required, but never shown