audiofield-download-links.html.twig in AudioField 8
Default theme implementation for AudioField audioplayer download links.
Available variables:
- links: downloa
1 theme call to audiofield-download-links.html.twig
- AudioFieldPluginBase::createDownloadList in src/
AudioFieldPluginBase.php - Used to render list of downloads as an item list.
File
templates/audiofield-download-links.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for AudioField audioplayer download links.
- *
- * Available variables:
- * - links: downloa
- *
- * @ingroup themeable
- */
- #}
- <table class="audiofield-downloads">
- <caption>{{ 'Download files:'|trans }}</caption>
- {% for file in links %}
- <tr>
- <td class="audiofield-download-link">{{ file.link }}</td>
- </tr>
- {% endfor %}
- </table>