audioplayer--soundmanager--inlineplayer.html.twig in AudioField 8
Inline player theme implementation for SoundManager audio player.
Available variables:
- plugin_id: the name of the plugin being used for templating.
- plugin_theme: the name of the specific plugin theme, if it exists.
- files: array of render info for each file.
- settings: array of settings for thie player.
File
templates/audioplayer--soundmanager--inlineplayer.html.twigView source
- {#
- /**
- * @file
- * Inline player theme implementation for SoundManager audio player.
- *
- * Available variables:
- * - plugin_id: the name of the plugin being used for templating.
- * - plugin_theme: the name of the specific plugin theme, if it exists.
- * - files: array of render info for each file.
- * - settings: array of settings for thie player.
- *
- * @ingroup themeable
- */
- #}
- <div class="audiofield">
- {% for file in files %}
- <ul class="graphic">
- <li>
- <a href="{{ file.url }}">{{ file.description }}</a>
- </li>
- </ul>
- {% endfor %}
- </div>