bundles/FoxHabbit/BasisBundle/Resources/views/Areas/parts/basisbundle-part-cols/variant-element-col.html.twig line 1

Open in your IDE?
  1. {% import '@FoxHabbitBasis/Macro/wrap.html.twig' as wrap_macro %}
  2. {% for colName,colDef in config.cols %}
  3.     {% if editmode %}
  4.         {{pimcore_area(colName, {
  5.                 type: 'basisbundle-element-col',
  6.                 class: colDef.class|default('xxx'),
  7.                 params: {
  8.                     params: colDef.params|default({})
  9.                 }
  10.         }) }}
  11.     {% else %}
  12.         {{pimcore_area(colName, {
  13.                 type: 'basisbundle-element-col',
  14.                 params: {
  15.                     "basisbundle-element-col": {class: colDef.class|default('xxx'), xxx:'yyy',params: colDef.params|default({})}
  16.                     
  17.                 }
  18.         }) }}
  19.     {% endif %}
  20. {% endfor %}