freelink.html.twig in Freelinking 4.0.x
Same filename and directory in other branches
Default theme implementation for wrapping a link render element.
Available variables:
- attributes: attributes to apply to the wrapper element.
- link: the freelinking link.
See also
2 theme calls to freelink.html.twig
- FreelinkingManager::createFreelinkElement in src/
FreelinkingManager.php - Create the render array for the respective Freelinking plugin.
- FreelinkingManager::createFreelinkElement in src/
FreelinkingManager.php - Create the render array for the respective Freelinking plugin.
File
templates/freelink.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for wrapping a link render element.
- *
- * Available variables:
- * - attributes: attributes to apply to the wrapper element.
- * - link: the freelinking link.
- *
- * @see template_preprocess_freelink()
- *
- * @ingroup themeable
- */
- #}
- <span{{ attributes }}>{{ link }}</span>