On my site, I'm able to use print variables using kint in my pre-process functions.
However, when I try to do the same in twig, nothing happens. I do have debug mode turned on. Has anyone ever ran into this fact pattern? Any ideas?
To clarify:
- It does not work in any of my templates
- The specific template I'm using is for styling the output of a view, which is a page and has unformatted HTML as its type.
This is how I use kint kint()
This is what I have seen on tutorials.
{{ kint(variable) }}