Answer the question
In order to leave comments, you need to log in
How to pass a variable to Layout in zf3?
Hello. A fairly simple question arose. How can I set a variable in layout?
In the controller page itself, you can do this through ViewModel(['var' => 'value']);
And how to do the same, but pass it to the layout ??
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