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.
Great module! I wanted to extend it to use also current user's session id. To do this, I had to override hashing function. I think it's good idea to include drupal alter hook into filefield_stats module in order to allow third-party modules to extend this module.
Proposed patch attached
Comment | File | Size | Author |
---|---|---|---|
filefield_stats.module.alterhook.patch | 565 bytes | pavel.karoukin |
Comments
Comment #1
infojunkieReassigning to correct module.
Comment #2
pavel.karoukin CreditAttribution: pavel.karoukin commentedOh. I am really sorry. Somehow I post it into wrong issue queue. Thank you infojunkie!
Comment #3
fietserwin@Scrypt, I'm going currently through this issue queue.
I assume that this is a copy of #986568: Allow third-party modules to plug into files dispatch process? But, looking at your code, I can't see any actual usage of this alter hook and, frankly speaking, I don't see why you would want to change the URL. You might want to be informed about the constructed URL, but not change it. Or am I missing something?