I want to override file-upload-help.html.twig
located in core\themes\classy\templates\content-edit
. This template displays help text for file upload fields on node edit pages.
If I inspect the file upload help text on a page, above it I see (in debug mode):
BEGIN OUTPUT from 'core/themes/classy/templates/content-edit/file-upload-help.html.twig'
There is no FILE NAME SUGGESTIONS
line before or after this line.
My site sub-themes the bootstrap
theme.
I tried simply putting a file-upload-help.html.twig
file in my sub-theme's templates
folder, but it was ignored. Not surprising since I'm sub-theming bootstrap, not classy.
Is there a way to add more information to the theme.info.yml
file to override classy templates as well? Or some other way to override the template? If I simply edit the file-upload-help.html.twig
file within the classy theme folder, it works, but of course that's bad behavior.