Commit 09a6d5f5 authored by Thomas Frobieter's avatar Thomas Frobieter
Browse files

Issue #3309184: TypeError: strtr(): Argument #1 ($string) must be of type...

Issue #3309184: TypeError: strtr(): Argument #1 ($string) must be of type string, array given in strtr() (Zeile 570 in /vendor/twig/twig/src/Extension/CoreExtension.php) 
parent ab7ff217
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -15,11 +15,11 @@
      {% set image_rendered = drupal_image(raw_image_path, responsive_image_size, {alt: raw_image_alt}, responsive=true) %}

      {% if image_field_item %}
        {% if paragraph.field_image_clip_path.0 %}
        {% if paragraph.field_image_clip_path.0 and paragraph.field_image_clip_path.value.0 %}
          <style>
            .css-shape-{{ paragraph.id() }}{
              {{ paragraph.field_image_clip_path.value }}
              {{ paragraph.field_image_clip_path.value|replace({"clip-path": "shape-outside"}) }}
              {{ paragraph.field_image_clip_path.value.0|replace({"clip-path": "shape-outside"}) }}
            }
          </style>
        {% endif %}