Closed (fixed)
Project:
Media Entity Download
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2019 at 10:01 UTC
Updated:
10 Aug 2023 at 07:58 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jeroentThe patch attached, adds a views field cfr. the edit/delete/... links.
Comment #3
jeroentComment #4
berdirHm, wondering if an entity operation would be equally/more useful, then it would automatically appear in all existing operations fields? What's the use case for a standalone download link?
Problem of that is that we'd want to check if it makes sense for a given type, but currently there's no per-bundle setting for that. Mh...
Comment #5
jeroentI added a link cfr.
\Drupal\views\Plugin\views\field\EntityLinkEdit.I had a case where I needed to make the media library available for all users. Which resulted in an overview of all media items with a download link.
Comment #6
panchukJeroenT It's works for me. Thanks!
Comment #7
jonmcl commentedThis should be in the module. We have been successfully using it for month. Correctly constructed.
Comment #8
bgilhome commentedWorks for me. A suggestion is to extend from EntityLink rather than LinkBase to add the options 'Output URL as text' and 'Use absolute URL'. Patch and interdiff attcahed.
Comment #9
bgilhome commentedSorry, the 'absolute' option handling needs to be added - attached.
Comment #10
alina.basarabeanu commentedPatch #9 works on drupal/media_entity_download (2.1.0) and drupal/core (9.4.2)
Comment #11
berdirMakes sense, committed.
Comment #14
alina.basarabeanu commentedThis issue was included in the 2.2.0 version.