Answers for "twig dump drupal 8"

2

print all variables twig

<ol>
  {% for key, value in _context  %}
    <li>{{ key }}</li>
  {% endfor %}
</ol>
Posted by: Guest on January-04-2021

Browse Popular Code Answers by Language