twig find all keys of array code example Example: twig get array key name {% for key, value in array %} {{ key }} - {{ value }} {% endfor %}