bynder-search-item.html.twig in Bynder 8
Same filename and directory in other branches
Default theme implementation for the Bynder search result item.
Available variables:
- thumbnail_uri: Link to the thumbnail of the bynder asset.
- name: Name of the bynder asset.
- type: Type of the bydner asset.
1 theme call to bynder-search-item.html.twig
- BynderSearch::getForm in src/
Plugin/ EntityBrowser/ Widget/ BynderSearch.php
File
templates/bynder-search-item.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the Bynder search result item.
- *
- * Available variables:
- * - thumbnail_uri: Link to the thumbnail of the bynder asset.
- * - name: Name of the bynder asset.
- * - type: Type of the bydner asset.
- */
- #}
- <img src="{{ thumbnail_uri }}" alt="{{ name }}"/>
- <div class="more-info">
- <h4 class="name">{{ name }}</h4>
- <div class="type">({{ type }})</div>
- </div>