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.
I am currently working on a site the handles a ajax callback the invokes various different hooks that could potentially add css files that need to be included in the response. Everything works fine except for the color module because it does it's magic by forcing the theme to call _color_html_alter in hook_process_html.
My patch moves color modules magin to hook_css_alter to insert it's css files.
Patch coming in next post.
Comment | File | Size | Author |
---|---|---|---|
#1 | color-drupal_add_css_not_getting_color_css-707484-2.patch | 1.03 KB | pwaterz |
Comments
Comment #1
pwaterz CreditAttribution: pwaterz commentedComment #2
Clemens Sahs CreditAttribution: Clemens Sahs commentedworks great for me