print all variables in twig code example
Example: print all variables twig
<ol>
{% for key, value in _context %}
<li>{{ key }}</li>
{% endfor %}
</ol>
<ol>
{% for key, value in _context %}
<li>{{ key }}</li>
{% endfor %}
</ol>