Here is a patch that includes both the preprocess and twig template. I also added a 'use' include for the Attribute Class within file.module so this class could be available to the file module.

Comments

vlad.dancer’s picture

Status: Needs review » Needs work
+++ b/core/themes/stark/templates/file/file-link.html.twig
@@ -0,0 +1,16 @@
\ No newline at end of file

No newline at end of file

EVIIILJ’s picture

Status: Needs work » Needs review
StatusFileSize
new2.31 KB

Thanks vlad.dancer, I completely missed that. I updated the patch to include the newline :)

vlad.dancer’s picture

Status: Needs review » Reviewed & tested by the community

Looks good! Thx.

podarok’s picture

Status: Reviewed & tested by the community » Fixed

#2 +1 RTBC

Thanks

commited/pushed to front-end

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Project: » Lost & found issues

This issue’s project has disappeared. Most likely, it was a sandbox project, which can be deleted by its maintainer. See the Lost & found issues project page for more details. (The missing project ID was 1750250)