You are here

function elfinder_add_css in elFinder file manager 7

Same name and namespace in other branches
  1. 6.2 elfinder.module \elfinder_add_css()
  2. 6 elfinder.module \elfinder_add_css()
  3. 7.3 elfinder.module \elfinder_add_css()
  4. 7.2 elfinder.module \elfinder_add_css()

Add css

1 call to elfinder_add_css()
elfinder_file_browser in ./elfinder.module
File browser render

File

./elfinder.module, line 743

Code

function elfinder_add_css($path, $options = array()) {
  global $base_path;
  if (isset($options['type']) && $options['type'] == 'external') {
    return drupal_add_css($base_path . $path, $options);
  }
  else {
    return drupal_add_css($path, $options);
  }
}