sector-8.x-2.0-alpha4/themes/sector_starter/templates/file/file-link.html.twig
themes/sector_starter/templates/file/file-link.html.twig
{#
/**
* @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.
*
* @see template_preprocess_file_link()
*
* @ingroup themeable
*/
#}
<span{{ attributes.addClass('media__content') }}>
<a href={{link.getUrl()}}>{{ link.getText() }}</a>
</span>
