Download & Extend

New hook for altering the URL at render time

Project:BundleCache
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

I needed to rewrite the output URL dynamically but found that there's nowhere to hook in between reading the processed value from the database and rendering out to the browser.

I've added a drupal_alter() call in bundlecache_process_file_list() to achieve this, and updated the hook documentation.

Patch attached for anyone else who needs this.

AttachmentSize
bundlecache_file_alter.patch1.76 KB
nobody click here