
| Current Path : /var/www/html/ift/web/core/modules/responsive_image/templates/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/ift/web/core/modules/responsive_image/templates/responsive-image-formatter.html.twig |
{#
/**
* @file
* Default theme implementation to display a formatted responsive image field.
*
* Available variables:
* - responsive_image: A collection of responsive image data.
* - url: An optional URL the image can be linked to.
*
* @see template_preprocess_responsive_image_formatter()
*
* @ingroup themeable
*/
#}
{% if url %}
<a href="{{ url }}">{{ responsive_image }}</a>
{% else %}
{{ responsive_image }}
{% endif %}