function commons_origins_css_alter in Drupal Commons 7.3
Implements hook_css_alter().
File
- themes/
commons/ commons_origins/ template.php, line 929 - Process theme data.
Code
function commons_origins_css_alter(&$css) {
// Remove preset styles that interfere with theming.
$unset = array(
drupal_get_path('module', 'search') . '/search.css',
drupal_get_path('module', 'rich_snippets') . '/rich_snippets.css',
drupal_get_path('module', 'commons_like') . '/commons-like.css',
drupal_get_path('module', 'panels') . '/css/panels.css',
);
foreach ($unset as $path) {
if (isset($css[$path])) {
unset($css[$path]);
}
}
}