{% import '@FoxHabbitBasis/Macro/wrap.html.twig' as wrap_macro %}
{% for colName,colDef in config.cols %}
{% if editmode %}
{{pimcore_area(colName, {
type: 'basisbundle-element-col',
class: colDef.class|default('xxx'),
params: {
params: colDef.params|default({})
}
}) }}
{% else %}
{{pimcore_area(colName, {
type: 'basisbundle-element-col',
params: {
"basisbundle-element-col": {class: colDef.class|default('xxx'), xxx:'yyy',params: colDef.params|default({})}
}
}) }}
{% endif %}
{% endfor %}