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/api.elmsln.org/includes/bootstrap.inc).
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.

Parameters

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

See also

drupal_add_css()

drupal_get_css()

Related topics

12 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/alter.inc
hook_css_alter()
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/common.inc
Returns a themed representation of all stylesheets to attach to the page.

File

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

Code

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

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.