You are here

shortcode-clear.html.twig in Shortcode 2.0.x

Same filename and directory in other branches
  1. 8 shortcode_basic_tags/templates/shortcode-clear.html.twig

Default theme implementation for the clear shortcode.

Available variables:

  • type: The element type (div or span)
  • attributes: Attributes array.
  • text: The content.

File

shortcode_basic_tags/templates/shortcode-clear.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for the clear shortcode.
  5. *
  6. * Available variables:
  7. * - type: The element type (div or span)
  8. * - attributes: Attributes array.
  9. * - text: The content.
  10. */
  11. #}
  12. <{{ type }}{{ attributes }}>{{ text | raw }}</{{ type }}>