shortcode-dropcap.html.twig in Shortcode 2.0.x
Same filename and directory in other branches
Default theme implementation for the dropcap shortcode.
Available variables:
- class: Class string.
- text: The quoted text.
1 theme call to shortcode-dropcap.html.twig
- DropcapShortcode::process in shortcode_basic_tags/
src/ Plugin/ Shortcode/ DropcapShortcode.php - Performs the shortcode processing.
File
shortcode_basic_tags/templates/shortcode-dropcap.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the dropcap shortcode.
- *
- * Available variables:
- * - class: Class string.
- * - text: The quoted text.
- */
- #}
- <span class="{{ class }}">{{ text }}</span>