You are here

paragraphs-info-icon.html.twig in Paragraphs 8

Default theme implementation for a paragraphs info icon.

Available variables:

  • icon: Name of the icon to use.
  • message: Information message.

See also

template_preprocess()

File

templates/paragraphs-info-icon.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation for a paragraphs info icon.
  5. *
  6. * Available variables:
  7. * - icon: Name of the icon to use.
  8. * - message: Information message.
  9. *
  10. * @see template_preprocess()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <span class="paragraphs-icon paragraphs-icon-{{ icon }}" title="{{ message }}">
  16. <span class="paragraphs-icon__message visually-hidden">{{ message }}</span>
  17. </span>