templates/includes/areabrick.html.twig line 1

Open in your IDE?
  1. {#
  2. project: Pimcore - Devicenow
  3. User: EBiermann
  4. Year: 2022
  5. #}
  6. {% set allowed = allowed | default(['section']) %}
  7. {{
  8.     pimcore_areablock(id, {
  9.         'allowed': allowed,
  10.         'group': {
  11.             'Structure': ['section', 'columns'],
  12.             'Text': ['wysiwyg', 'quote'],
  13.             'Image': ['image', 'imagegrid', 'gallery'],
  14.             'Relation': ['teaser', 'documentlist', 'documentslider'],
  15.             'Buttons': ['buttons'],
  16.             'Other': ['numberlist','video', 'map', 'timeline']
  17.         },
  18.         'globalParams': {
  19.             'columns': columns | default(''),
  20.             'brickMode': mode | default('structure'),
  21.             'sectionIndex': sectionIndex | default(0),
  22.             'gridIndex': gridIndex | default(0)
  23.         }
  24.     })
  25. }}