Initial Drupal 11 with DDEV setup
This commit is contained in:
		
							
								
								
									
										19
									
								
								web/core/modules/image/templates/image-widget.html.twig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								web/core/modules/image/templates/image-widget.html.twig
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @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>
 | 
			
		||||
		Reference in New Issue
	
	Block a user