I want to display the username/last connection date/time and some other info on all of my Twig views (which all extend from a common Twig layout).
How can I achieve that without having to explicitly pass those parameters from each controller to each view?
Do I have to create a Twig extension, or make a call to a controller/action that will retrieve username/connection/other info from the layout using render?
I'd like a simpler solution if possible.