How do I create a file download URL?

by José Trindade   Last Updated January 12, 2018 14:07 PM

The function file_entity_download_uri() seems to no longer exist in Drupal 8.4, and I need to build a download URL for a file. I would not like to directly expose the file location.

Tags : 8 files downloads

Related Questions

how can create a File download counter field?

Updated September 24, 2016 09:03 AM