link-iframe-formatter.html.twig in Link iframe formatter 2.x
{% spaceless %}
<iframe width="{{ width }}" height="{{ height }}" src="{{ url }}" class="{{ class }}" frameborder="0" scrolling="{{ scrolling }}" allowfullscreen></iframe>
{% if original %}
<div class="link-iframe-formatter-original">{{ 'You may view the original link at:'|t }} <a
href="{{ url }}">{{ url }}</a><div>
{% endif %}
{% endspaceless %}
File
templates/link-iframe-formatter.html.twig
View source
- {% spaceless %}
- <iframe width="{{ width }}" height="{{ height }}" src="{{ url }}" class="{{ class }}" frameborder="0" scrolling="{{ scrolling }}" allowfullscreen></iframe>
- {% if original %}
- <div class="link-iframe-formatter-original">{{ 'You may view the original link at:'|t }} <a
- href="{{ url }}">{{ url }}</a><div>
- {% endif %}
- {% endspaceless %}