function views_add_css

cis7 views.module views_add_css($file)
cle7 views.module views_add_css($file)
elmsmedia7 views.module views_add_css($file)
icor7 views.module views_add_css($file)
meedjum_blog7 views.module views_add_css($file)
mooc7 views.module views_add_css($file)

Include views .css files.

File

sites/all/modules/ulmus/views/views.module, line 1103
Primarily Drupal 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.
  drupal_add_css(drupal_get_path('module', 'views') . "/css/$file.css", array('preprocess' => FALSE));
}
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.