file-upload-help.html.twig in Drupal 10
Same filename in this branch
- 10 core/modules/file/templates/file-upload-help.html.twig
- 10 core/themes/starterkit_theme/templates/content-edit/file-upload-help.html.twig
- 10 core/themes/classy/templates/content-edit/file-upload-help.html.twig
- 10 core/themes/stable9/templates/content-edit/file-upload-help.html.twig
- 10 core/themes/stable/templates/content-edit/file-upload-help.html.twig
Same filename and directory in other branches
Theme override to display help text for file fields.
Available variables:
- descriptions: Lines of help text for uploading a file.
See also
5 theme calls to file-upload-help.html.twig
- FileUploadForm::buildInputElement in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - FileWidget::formElement in core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php - Returns the form for a single field widget.
- FileWidget::formMultipleElements in core/
modules/ file/ src/ Plugin/ Field/ FieldWidget/ FileWidget.php - Overrides \Drupal\Core\Field\WidgetBase::formMultipleElements().
- ImageWidget::formMultipleElements in core/
modules/ image/ src/ Plugin/ Field/ FieldWidget/ ImageWidget.php - Overrides \Drupal\file\Plugin\Field\FieldWidget\FileWidget::formMultipleElements().
- ImportForm::buildForm in core/
modules/ locale/ src/ Form/ ImportForm.php - Form constructor for the translation import screen.
File
core/themes/starterkit_theme/templates/content-edit/file-upload-help.html.twigView source
- {#
- /**
- * @file
- * Theme override to display help text for file fields.
- *
- * Available variables:
- * - descriptions: Lines of help text for uploading a file.
- *
- * @see template_preprocess_file_upload_help()
- */
- #}
- {{ descriptions|safe_join('<br />') }}