function hook_css_alter


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 system.api.php hook_css_alter(&$css)
cle7 system.api.php hook_css_alter(&$css)
elmsmedia7 system.api.php hook_css_alter(&$css)
icor7 system.api.php hook_css_alter(&$css)
meedjum_blog7 system.api.php hook_css_alter(&$css)
mooc7 system.api.php hook_css_alter(&$css)

Alter CSS files before they are output on the page.


$css: An array of all CSS items (files and inline CSS) being requested on the page.

See also



Related topics

13 functions implement hook_css_alter()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

adaptivetheme_css_alter in sites/all/themes/ulmus/adaptivetheme/at_core/inc/
advagg_css_alter in sites/all/modules/ulmus/advagg/advagg.module
Implements hook_css_alter().
advagg_css_cdn_css_alter in sites/all/modules/ulmus/advagg/advagg_css_cdn/advagg_css_cdn.module
Implements hook_css_alter().
advagg_mod_css_alter in sites/all/modules/ulmus/advagg/advagg_mod/advagg_mod.module
Implements hook_css_alter().
alpha_css_alter in sites/all/themes/ulmus/omega/alpha/template.php
Implements hook_css_alter().

... See full list

1 invocation of hook_css_alter()
drupal_get_css in includes/
Returns a themed representation of all stylesheets to attach to the page.


modules/system/system.api.php, line 865
Hooks provided by Drupal core and the System module.


function hook_css_alter(&$css) {
  // Remove defaults.css file.
  unset($css[drupal_get_path('module', 'system') . '/defaults.css']);



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.