twig print array item with specific key code example
Example: twig get array key name
{% for key, value in array %}
{{ key }} - {{ value }}
{% endfor %}
{% for key, value in array %}
{{ key }} - {{ value }}
{% endfor %}