link-formatter-button-link.html.twig in Button Link Formatter 8
Default theme implementation of a link with separate title and URL elements.
Available variables:
- link: The link that has already been formatted by l().
- title: (optional) A descriptive or alternate title for the link, which may be different than the actual link text.
1 theme call to link-formatter-button-link.html.twig
- ButtonLinkFormatter::viewElements in src/
Plugin/ Field/ FieldFormatter/ ButtonLinkFormatter.php - Builds a renderable array for a field value.
File
templates/link-formatter-button-link.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation of a link with separate title and URL elements.
- *
- * Available variables:
- * - link: The link that has already been formatted by l().
- * - title: (optional) A descriptive or alternate title for the link, which may
- * be different than the actual link text.
- *
- * @see template_preprocess()
- * @see template_preprocess_link_formatter_link_separate()
- *
- * @ingroup themeable
- */
- #}
-
- <a{{ attributes }}>
- <i{{ icon_attributes }}></i>
- {{ title }}
- </a>