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.
We are leveraging drupal_alter() in _advagg_build_css_path() so advagg inserts custom absolute path for background images into aggregated CSS.
Comment | File | Size | Author |
---|---|---|---|
#4 | advagg-drupal_alter_in_advagg_build_css_path-2868768-4.patch | 391 bytes | CoderBrandon |
#2 | advagg-drupal_alter_in_advagg_build_css_path-2868768-1.patch | 458 bytes | johnnie.wilcox |
Comments
Comment #2
johnnie.wilcox CreditAttribution: johnnie.wilcox commentedComment #3
mikeytown2 CreditAttribution: mikeytown2 commentedCould you do the same using hook_file_url_alter? Provide a quick example stringA -> stringB
Comment #4
CoderBrandon CreditAttribution: CoderBrandon at Third and Grove commentedRerolling patch for advagg 7.x-2.20
Comment #5
mikeytown2 CreditAttribution: mikeytown2 commentedDoes hook_file_url_alter not work for your case?
Comment #6
mikeytown2 CreditAttribution: mikeytown2 commentedHaving a use case for why hook_file_url_alter doesn't work is needed in order for this to be accepted.
Comment #7
mikeytown2 CreditAttribution: mikeytown2 commentedClosing out due to lack of feedback. Reopen if you can provide me with a use case.