Same filename in this branch
  1. 10 core/modules/file/templates/file-upload-help.html.twig
  2. 10 core/themes/stable9/templates/content-edit/file-upload-help.html.twig
  3. 10 core/themes/starterkit_theme/templates/content-edit/file-upload-help.html.twig
Same filename and directory in other branches
  1. 8.9.x core/modules/file/templates/file-upload-help.html.twig
  2. 9 core/modules/file/templates/file-upload-help.html.twig

Default theme implementation 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()

2 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).
ImportForm::buildForm in core/modules/locale/src/Form/ImportForm.php
Form constructor for the translation import screen.

File

core/modules/file/templates/file-upload-help.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display help text for file fields.
  5. *
  6. * Available variables:
  7. * - descriptions: Lines of help text for uploading a file.
  8. *
  9. * @see template_preprocess_file_upload_help()
  10. *
  11. * @ingroup themeable
  12. */
  13. #}
  14. {{ descriptions|safe_join('<br />') }}

Related topics