Version 1
[yaffs-website] / web / modules / contrib / slick / templates / slick-image.html.twig
diff --git a/web/modules/contrib/slick/templates/slick-image.html.twig b/web/modules/contrib/slick/templates/slick-image.html.twig
new file mode 100644 (file)
index 0000000..e273760
--- /dev/null
@@ -0,0 +1,24 @@
+{% extends "@blazy/blazy.html.twig" %}
+{#
+/**
+ * @file
+ * Default theme implementation to display a lazyloaded, or responsive image.
+ *
+ * The core Slick image supports core image, and responsive image.
+ *
+ * Available variables:
+ *   - image: A collection of image data.
+ *   - attributes: An array of attributes.
+ *   - url: An optional URL the image can be linked to, can be any of
+ *       entity URLs, when using Colorbox/Photobox, or Link to content.
+ *   - settings: An array containing the given settings.
+ *
+ * @see template_preprocess_blazy().
+ * @see template_preprocess_slick_image().
+ *
+ * @ingroup themeable
+ *
+ * @deprecated: Just use blazy.html.twig to reduce function calls.
+ */
+#}
+{% set attributes = attributes.addClass('media--slick') %}