You are here

direct-download-file-link.html.twig in DownloadFile 8

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

templates/direct-download-file-link.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a link to a file.
  5. *
  6. * Available variables:
  7. * - attributes: The HTML attributes for the containing element.
  8. * - link: A link to the file.
  9. *
  10. * @see template_preprocess_direct_download_file_link()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <span{{ attributes }}>{{ link }} </span>