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.
Quick patch to change a comment in drupal_get_css() since themes can also do this now.
- // Allow modules to alter the CSS items.
+ // Allow modules and themes to alter the CSS items.
drupal_alter('css', $css);
Comment | File | Size | Author |
---|---|---|---|
drupalgetcss-docs.patch | 598 bytes | Jacine | |
Comments
Comment #1
jhodgdonThis must be true, since the only implementation of hook_css_alter() in core currently is seven_css_alter().
Patch is clean.
Comment #2
Dries CreditAttribution: Dries commentedCommitted to CVS HEAD. Thanks.