Allow to inject the twig templates through the event behavior