Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Split issue #2701463: Make "Download link" field formatter translatable
It would be great to be able to hide tile file size that is automatically added on the side of the download button, when using "Download link" as display formater
Comment | File | Size | Author |
---|---|---|---|
#2 | 2718493-2.file_entity.file-size-visibility-option.patch | 2.43 KB | joachim |
Screenshot from 2016-05-04 07-42-04.png | 2.42 KB | matsbla |
Comments
Comment #2
joachim CreditAttribution: joachim at Torchbox commentedHere's a patch that's basically just the relevant parts pulled out of the patch at #2701463: Make "Download link" field formatter translatable, with tweaks for bits that didn't apply to latest dev.
Credit should go to https://www.drupal.org/u/devdokimov.
Comment #3
slashrsm CreditAttribution: slashrsm at MD Systems GmbH for Acquia commentedWhy do we need |default in this condition?