file-upload-help.html.twig
Same filename in this branch
Same filename in other branches
- 9 core/themes/stable9/templates/content-edit/file-upload-help.html.twig
- 9 core/themes/stable/templates/content-edit/file-upload-help.html.twig
- 9 core/themes/starterkit_theme/templates/content-edit/file-upload-help.html.twig
- 9 core/themes/classy/templates/content-edit/file-upload-help.html.twig
- 9 core/modules/file/templates/file-upload-help.html.twig
- 10 core/themes/stable9/templates/content-edit/file-upload-help.html.twig
- 10 core/themes/starterkit_theme/templates/content-edit/file-upload-help.html.twig
- 10 core/modules/file/templates/file-upload-help.html.twig
- 11.x core/themes/stable9/templates/content-edit/file-upload-help.html.twig
- 11.x core/themes/starterkit_theme/templates/content-edit/file-upload-help.html.twig
- 11.x core/modules/file/templates/file-upload-help.html.twig
Theme override to display help text for file fields.
Available variables:
- descriptions: Lines of help text for uploading a file.
See also
template_preprocess_file_upload_help()
5 theme calls to file-upload-help.html.twig
- FileUploadForm::buildInputElement in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - Builds the element for submitting source field value(s).
- 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/ classy/ templates/ content-edit/ file-upload-help.html.twig
View 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 />') }}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.