1 views.module | views_add_css($file) |
Include views .css files.
File
- core/
modules/ views/ views.module, line 1043 - Primarily Backdrop hooks and global API functions to manipulate views.
Code
function views_add_css($file) {
// We set preprocess to FALSE because we are adding the files conditionally,
// and we don't want to generate duplicate cache files.
// TODO: at some point investigate adding some files unconditionally and
// allowing preprocess.
backdrop_add_css(backdrop_get_path('module', 'views') . "/css/$file.css", array('preprocess' => FALSE));
}