{# /** * @file * Theme override for an image field widget. * * Available variables: * - attributes: HTML attributes for the containing element. * - data: Render elements of the image widget. * * @see template_preprocess_image_widget() */ #} {{ attach_library('classy/image-widget') }} {% if data.preview %}
{{ data.preview }}
{% endif %}
{# Render widget data without the image preview that was output already. #} {{ data|without('preview') }}