epub-formatter-cover.html.twig in Epub 8
<div class="ebook"> <a href="{{ file }}"> <img src="{{ image }}" width="{{ width }}" style="border:1px solid black;"/> </a> </div>
1 theme call to epub-formatter-cover.html.twig
- EpubCoverImage::viewElements in src/
Plugin/ Field/ FieldFormatter/ EpubCoverImage.php - Builds a renderable array for a field value.
File
templates/epub-formatter-cover.html.twigView source
- <div class="ebook">
- <a href="{{ file }}">
- <img src="{{ image }}" width="{{ width }}" style="border:1px solid black;"/>
- </a>
- </div>