download-count-file-field-formatter.html.twig in Open Social 8.4
Same filename in this branch
Same filename and directory in other branches
- 8.9 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 8 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 8.2 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 8.3 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 8.5 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 8.6 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 8.7 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 8.8 modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 10.3.x modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 10.0.x modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 10.1.x modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
- 10.2.x modules/custom/download_count/templates/download-count-file-field-formatter.html.twig
{% 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 modules/
custom/ download_count/ src/ Plugin/ Field/ FieldFormatter/ FieldDownloadCount.php - Builds a renderable array for a field value.
File
modules/custom/download_count/templates/download-count-file-field-formatter.html.twigView source
- {% if file %}
- <span class="{{ classes }}">{{ url }} </span>
- <span class="download-count">{{ count }}</span>
- {% endif %}
-