{% set item = entity.instance %} {% set property_name = field.getProperty() %} {% set id_toggle = 'toogle-'~item.id~'-'~property_name %}