instagram-block-image.html.twig in Instagram Block 8
Same filename and directory in other branches
Default theme implementation of an Instagram image link.
Available variables:
- data: The entire data array returned from the Instagram API request.
- href: The url to the Instagram post page.
- src: The source url to the instagram image.
- width: The display width of the image.
- height: The display height of the image.
1 theme call to instagram-block-image.html.twig
- InstagramBlockBlock::build in src/
Plugin/ Block/ InstagramBlockBlock.php - Builds and returns the renderable array for this block plugin.
File
templates/instagram-block-image.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of an Instagram image link.
- *
- * Available variables:
- * - data: The entire data array returned from the Instagram API request.
- * - href: The url to the Instagram post page.
- * - src: The source url to the instagram image.
- * - width: The display width of the image.
- * - height: The display height of the image.
- *
- * @ingroup themeable
- */
- #}
- {% spaceless %}
- <a class="group" target="_blank" rel="group1" href="{{ href }}">
- <img height="{{ height }}px" width="{{ width }}px" src="{{ src }}">
- </a>
- {% endspaceless %}
-