Files
drupal-theme-aaron/templates/content-edit/file-managed-file.html.twig
2026-01-21 22:28:11 -06:00

23 lines
438 B
Twig

{#
/**
* @file
* Theme override to display a file form widget.
*
* Available variables:
* - element: Form element for the file upload.
* - attributes: HTML attributes for the containing element.
*
* @see template_preprocess_file_managed_file()
*/
#}
{{ attach_library('aaron/file') }}
{%
set classes = [
'js-form-managed-file',
'form-managed-file',
]
%}
<div{{ attributes.addClass(classes) }}>
{{ element }}
</div>