I've recently encountered an issue because drupal_alter() builds an array of hook alter implementations without considering the weights of themes.
I have a simple module that needs to use hook_css_alter() to override the output that a theme's implementation of hook_css_alter() creates. Unfortunately, because drupal_alter() processes modules first (by weight) and then themes next, themes' hook implementations are always processed last (or at least it seems that way).
Currently, it seems, there's no way for me to use a module to alter the CSS created/added from within bootstrap_css_alter().
If this is by-design, is there any way for me to overcome the issue?
Comments