minisite-link.html.twig in Mini site 8
Default theme implementation for a link to a minisite.
Available variables:
- attributes: The HTML attributes for the containing element.
- link: A link to the minisite.
See also
1 theme call to minisite-link.html.twig
- MinisiteFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ MinisiteFormatter.php - Builds a renderable array for a field value.
File
templates/minisite-link.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for a link to a minisite.
- *
- * Available variables:
- * - attributes: The HTML attributes for the containing element.
- * - link: A link to the minisite.
- *
- * @see template_preprocess_minisite_link()
- *
- * @ingroup themeable
- */
- #}
- <span{{ attributes }}>{{ link }}</span>