We now allow JavaScript files to be altered via hook_js_alter. CSS files should have a similar mechanism via hook_css_alter. This is an important companion to hook_js_alter. For example, many jQuery plugins have accompanying css files. If we alter the use from one version of a plugin to another we may, also, need to alter the css file being used by the plugin.

Comments

RobLoach’s picture

Title: allow css files to be altered » Allow CSS to be altered
Status: Active » Postponed
Issue tags: +Patch Spotlight
Owen Barton’s picture

Subscribe

RobLoach’s picture

Status: Postponed » Closed (duplicate)

It has seemed to be merged into this issue: #92877: Add numeric weight to drupal_add_css