You are here

function filter_css_alter in Editor 7

Implements hook_css_alter() on behalf of filter.module.

Replace Filter's CSS files with more fully-featured alternatives.

File

includes/editor.filter.inc, line 81
Declares hooks on behalf of filter.module.

Code

function filter_css_alter(&$css) {

  // Replace filter.css.
  $path = drupal_get_path('module', 'filter') . '/filter.css';
  if (isset($javascript[$path])) {
    $css[$path]['data'] = drupal_get_path('module', 'editor') . '/css/filter.css';
    $css[$path]['type'] = 'file';
  }
}