Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

twig variable exists

{% if flash is defined %}
    {{ flash }}
{% else %}
	Flash does not exist
{% endif %}
 
PREVIOUS NEXT
Tagged: #twig #variable #exists
ADD COMMENT
Topic
Name
4+9 =