media-entity-pinterest-board.html.twig in Media entity Pinterest 8
Same filename and directory in other branches
Default theme implementation to display a Pin.
data-pin-board-width="" data-pin-scale-height="" data-pin-scale-width=""
1 theme call to media-entity-pinterest-board.html.twig
- PinterestEmbedFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ PinterestEmbedFormatter.php - Builds a renderable array for a field value.
File
templates/media-entity-pinterest-board.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display a Pin.
- *
- * @ingroup themeable
- *
- * data-pin-board-width=""
- * data-pin-scale-height=""
- * data-pin-scale-width=""
- */
- #}
- <a data-pin-do="embedBoard" data-pin-board-width="400" data-pin-scale-height="240" data-pin-scale-width="80" data-pin-width="medium" href="{{ path }}"></a>