Security update for Core, with self-updated composer
[yaffs-website] / web / themes / contrib / bootstrap / templates / system / image.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation of an image.
5  *
6  * Available variables:
7  * - attributes: HTML attributes for the img tag.
8  * - style_name: (optional) The name of the image style applied.
9  *
10  * @ingroup templates
11  *
12  * @see template_preprocess_image()
13  */
14 #}
15 {% set classes = [
16   theme.settings.image_shape ? theme.settings.image_shape,
17   theme.settings.image_responsive ? 'img-responsive',
18 ] %}
19 <img{{ attributes.addClass(classes) }} />