formatter-suite-image-embed.html.twig in Formatter Suite 8
Default theme implementation of an image.
Available variables:
- attributes: HTML attributes for the img tag.
- style_name: (optional) The name of the image style applied.
See also
1 theme call to formatter-suite-image-embed.html.twig
- template_preprocess_formatter_suite_image_embed_formatter in ./
formatter_suite.module - Prepares variables for image embed formatter template.
File
templates/formatter-suite-image-embed.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of an image.
- *
- * Available variables:
- * - attributes: HTML attributes for the img tag.
- * - style_name: (optional) The name of the image style applied.
- *
- * @see template_preprocess_image()
- *
- * @ingroup themeable
- */
- #}
- <img{{ attributes }} />