1234567891011121314151617181920 |
- {#
- /**
- * @file
- * Default theme implementation for a link to a file.
- *
- * Available variables:
- * - attributes: The HTML attributes for the containing element.
- * - link: A link to the file.
- * - file_size: The size of the file.
- *
- * @see template_preprocess_file_link()
- *
- * @ingroup themeable
- */
- #}
- <span{{ attributes }}>{{ link }}</span>
- {% if file_size %}
- {# @todo remove class before Drupal 9.0.0 #}
- <span class="file-size">({{ file_size }})</span>
- {% endif %}
|