Answer the question
In order to leave comments, you need to log in
How to make a single function to be called in a twig template?
Hello. Tell me how to make a single function so that you can call it in any twig template without forwarding it through:
return $this->render('AppBundle:Default:facebook.html.twig', []);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question