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.
imagepicker_file_download (hook_file_download) returns null if its not needed by this module.
This must not return anything other wise it breaks every private file on the website when using "Private local files served by Drupal."
Comment | File | Size | Author |
---|---|---|---|
image-picker-hook_file_download.patch | 249 bytes | Mike Dodd |
Comments
Comment #1
Mike Dodd CreditAttribution: Mike Dodd commentedComment #2
Mike Dodd CreditAttribution: Mike Dodd commentedComment #4
hutch CreditAttribution: hutch commentedOh dear, more bad docs, in Drupal API docs
However the examples return nothing so I have commited your patch.
Thank you for reporting this.
Comment #5
hutch CreditAttribution: hutch commented