Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / themes / stable / templates / content-edit / image-widget.html.twig
1 {#
2 /**
3  * @file
4  * Theme override for an image field widget.
5  *
6  * Available variables:
7  * - attributes: HTML attributes for the containing element.
8  * - data: Render elements of the image widget.
9  *
10  * @see template_preprocess_image_widget()
11  */
12 #}
13 <div{{ attributes }}>
14   {{ data.preview }}
15   {# Render widget data without the image preview that was output already. #}
16   {{ data|without('preview') }}
17 </div>