download-count-file-field-formatter.html.twig in Download Count 8
{% if file %} <span class="{{ classes}}">{{ url }} </span> <span class="download-count">{{ count }}</span> {% endif %}
1 theme call to download-count-file-field-formatter.html.twig
- FieldDownloadCount::viewElements in src/
Plugin/ Field/ FieldFormatter/ FieldDownloadCount.php - Builds a renderable array for a field value.
File
templates/download-count-file-field-formatter.html.twigView source
- {% if file %}
- <span class="{{ classes}}">{{ url }} </span>
- <span class="download-count">{{ count }}</span>
- {% endif %}
-