image-effects-text-overlay-preview.html.twig in Image Effects 8.3
Same filename and directory in other branches
Default theme implementation to display a text overlay preview theme.
Available variables:
- preview: A Textimage formatter array.
2 theme calls to image-effects-text-overlay-preview.html.twig
- TextOverlayImageEffect::buildConfigurationForm in src/
Plugin/ ImageEffect/ TextOverlayImageEffect.php - Form constructor.
- TextOverlayImageEffect::processAjaxPreview in src/
Plugin/ ImageEffect/ TextOverlayImageEffect.php - Preview Ajax callback.
File
templates/image-effects-text-overlay-preview.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display a text overlay preview theme.
- *
- * Available variables:
- * - preview: A Textimage formatter array.
- *
- * @ingroup theme
- */
- #}
- {% if success %}
- {{ attach_library('image_effects/image_effects.text_overlay_preview') }}
- {% endif %}
- <div id="text-overlay-preview">{{ preview }}</div>