drupal twig dump variable 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>