You are here

freelink.html.twig in Freelinking 4.0.x

Same filename and directory in other branches
  1. 8.3 templates/freelink.html.twig

Default theme implementation for wrapping a link render element.

Available variables:

  • attributes: attributes to apply to the wrapper element.
  • link: the freelinking link.

File

templates/freelink.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for wrapping a link render element.
  5. *
  6. * Available variables:
  7. * - attributes: attributes to apply to the wrapper element.
  8. * - link: the freelinking link.
  9. *
  10. * @see template_preprocess_freelink()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <span{{ attributes }}>{{ link }}</span>