You are here

image-effects-text-overlay-preview.html.twig in Image Effects 8

Default theme implementation to display a text overlay preview theme.

Available variables:

  • preview: A Textimage formatter array.

File

templates/image-effects-text-overlay-preview.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a text overlay preview theme.
  5. *
  6. * Available variables:
  7. * - preview: A Textimage formatter array.
  8. *
  9. * @ingroup theme
  10. */
  11. #}
  12. {% if success %}
  13. {{ attach_library('image_effects/image_effects.text_overlay_preview') }}
  14. {% endif %}
  15. <div id="text-overlay-preview">{{ preview }}</div>