I am using twig in a dynamic way to generate template and I want to show a twig variable that is stored in database (the value is {{entity.id}}).
{%- for parameter in reportParameters%}
{{ parameter.name }} : {{ parameter.value }}
{%- endfor %}
The parameter.value should show 1 (the id of the current entity), but it shows {{entity.id}}
Is there equivalent to eval in php for twig?