file-widget-multiple.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/content-edit/file-widget-multiple.html.twig
- 9 core/themes/claro/templates/content-edit/file-widget-multiple.html.twig
- 9 core/themes/stable/templates/content-edit/file-widget-multiple.html.twig
- 9 core/themes/starterkit_theme/templates/content-edit/file-widget-multiple.html.twig
- 9 core/themes/classy/templates/content-edit/file-widget-multiple.html.twig
- 9 core/modules/file/templates/file-widget-multiple.html.twig
- 10 core/themes/stable9/templates/content-edit/file-widget-multiple.html.twig
- 10 core/themes/claro/templates/content-edit/file-widget-multiple.html.twig
- 10 core/themes/starterkit_theme/templates/content-edit/file-widget-multiple.html.twig
- 10 core/modules/file/templates/file-widget-multiple.html.twig
- 11.x core/themes/stable9/templates/content-edit/file-widget-multiple.html.twig
- 11.x core/themes/claro/templates/content-edit/file-widget-multiple.html.twig
- 11.x core/themes/starterkit_theme/templates/content-edit/file-widget-multiple.html.twig
- 11.x core/modules/file/templates/file-widget-multiple.html.twig
Theme override to display a multiple file upload form widget.
Available variables:
- table: Table of previously uploaded files.
- element: The form element for uploading another file.
- has_table: True when the table is not empty AND can be accessed.
See also
template_preprocess_file_widget_multiple()
claro_preprocess_file_widget_multiple()
File
-
core/
themes/ claro/ templates/ content-edit/ file-widget-multiple.html.twig
View source
- {#
- /**
- * @file
- * Theme override to display a multiple file upload form widget.
- *
- * Available variables:
- * - table: Table of previously uploaded files.
- * - element: The form element for uploading another file.
- * - has_table: True when the table is not empty AND can be accessed.
- *
- * @see template_preprocess_file_widget_multiple()
- * @see claro_preprocess_file_widget_multiple()
- */
- #}
- <div class="file-widget-multiple{{ has_table ? ' has-table' }}">
- <div class="file-widget-multiple__table-wrapper">
- {{ table }}
- {{ element }}
- </div>
- </div>
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.