Mercurial > hg > isophonics-drupal-site
view core/modules/image/templates/image-widget.html.twig @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line source
{# /** * @file * Default theme implementation 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() * * @ingroup themeable */ #} <div{{ attributes }}> {{ data.preview }} {# Render widget data without the image preview that was output already. #} {{ data|without('preview') }} </div>