display an array variable in twig code example Example: twig print array {% for category in categories %} {{ category }} {% endfor %}