Drupal investigation

file-managed-file.html.twig 442B

123456789101112131415161718192021222324
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a file form widget.
  5. *
  6. * Available variables:
  7. * - element: Form element for the file upload.
  8. * - attributes: HTML attributes for the containing element.
  9. *
  10. * @see template_preprocess_file_managed_file()
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {%
  16. set classes = [
  17. 'js-form-managed-file',
  18. 'form-managed-file',
  19. ]
  20. %}
  21. <div{{ attributes.addClass(classes) }}>
  22. {{ element }}
  23. </div>