I am using a theme view in Drupal 8 that uses the trigger. I would like to use the Tribune filter on the row.content variable in the View-View-unformatted.html.twig template.
It seems that row.content is an array, so the string of the twig does not manipulate the job. However, it prints on the page as a string (see only the list of classification conditions).
What I want to do is to mess out the output, so the classification words with spaces may contain valid href, change the filter in the code below.
& lt; Ul class = "nav nav-tabs" role = "tablist" & gt; For {% rows in rows%} & lt; Li role = "presentation" class = "{{loop.first? 'Active': ''}}" & gt; "{{Row.content}}" role = "tab" data-toggle = "tab" & gt; {{Row.content}} & lt; / A & gt; & Lt; / Li & gt; {% Endfor%} & lt; / Ul & gt;
This only outputs and . Does anyone know how to use Raw text value of production during Tweezes interpolation?
Thank you!
No comments:
Post a Comment