Closed (works as designed)
Project:
Advanced CSS/JS Aggregation
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2014 at 19:05 UTC
Updated:
13 Mar 2014 at 21:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damienmckennaHere's the patch with the drupal_alter() line and documentation in advagg.api.php.
Comment #2
mikeytown2 commentedWhat about hook_advagg_save_aggregate_alter()? I use it to gzip files as an example.
Thinking I should alter the weight of advag_advagg_save_aggregate_alter so it runs last now that I see other use cases for this. This same hook is used here for S3 #2143913-9: Configure stream wrapper for storing aggregates
Comment #3
mikeytown2 commentedThe other alt for this use case is higher up hook_advagg_get_css_aggregate_contents_alter(). Given your example use case this is the hook I would use.
Comment #4
damienmckennaOh, hey, awesome. Yeah, these will work, thanks!
Comment #5
mikeytown2 commentedYep :)
If you want to go even higher, before the CSS is aggregated together hook_advagg_get_css_file_contents_alter() would be the ticket