image-hover-effects-image-formatter.html.twig in Image Hover Effects 8
Default theme implementation to display an image field with hover effects.
File
templates/image-hover-effects-image-formatter.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display an image field with hover effects.
-
- * @see template_preprocess_image_hover_effects_image_formatter()
- */
- #}
- {% if url %}
- <a{{link_attributes}} href="{{ url }}">{{ image }}</a>
- {% else %}
- {{ image }}
- {% endif %}