Answers for "echo variable twig"

2

print all variables twig

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

twig html variable

$word = '<b> a word </b>';
{{ word }}
Posted by: Guest on July-31-2021

Browse Popular Code Answers by Language