shortcode-clear.html.twig in Shortcode 2.0.x
Same filename and directory in other branches
Default theme implementation for the clear shortcode.
Available variables:
- type: The element type (div or span)
- attributes: Attributes array.
- text: The content.
1 theme call to shortcode-clear.html.twig
- ClearShortcode::process in shortcode_basic_tags/
src/ Plugin/ Shortcode/ ClearShortcode.php - Performs the shortcode processing.
File
shortcode_basic_tags/templates/shortcode-clear.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for the clear shortcode.
- *
- * Available variables:
- * - type: The element type (div or span)
- * - attributes: Attributes array.
- * - text: The content.
- */
- #}
- <{{ type }}{{ attributes }}>{{ text | raw }}</{{ type }}>