Mercurial > hg > cmmr2012-drupal-site
annotate core/themes/classy/templates/field/image-style.html.twig @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
rev | line source |
---|---|
Chris@0 | 1 {# |
Chris@0 | 2 /** |
Chris@0 | 3 * @file |
Chris@0 | 4 * Theme override for an image using a specific image style. |
Chris@0 | 5 * |
Chris@0 | 6 * Available variables: |
Chris@0 | 7 * - attributes: HTML attributes for the image, including the following: |
Chris@0 | 8 * - src: Full URL or relative path to the image file. |
Chris@0 | 9 * - class: One or more classes to be applied to the image. |
Chris@0 | 10 * - width: The width of the image (if known). |
Chris@0 | 11 * - height: The height of the image (if known). |
Chris@0 | 12 * - title: The title of the image. |
Chris@0 | 13 * - alt: The alternative text for the image. |
Chris@0 | 14 * |
Chris@0 | 15 * @see template_preprocess_image_style() |
Chris@0 | 16 */ |
Chris@0 | 17 #} |
Chris@0 | 18 {{ image }} |