You are here

function gallery_assist_add_css in Gallery Assist 7

Same name in this branch
  1. 7 gallery_assist.module \gallery_assist_add_css()
  2. 7 libs/functions/gallery_assist_css.php \gallery_assist_add_css()
Same name and namespace in other branches
  1. 6 gallery_assist.module \gallery_assist_add_css()

Include gallery_assist .css files.

1 call to gallery_assist_add_css()
gallery_assist_init in ./gallery_assist.module
Implements hook_init();

File

libs/functions/gallery_assist_css.php, line 6

Code

function gallery_assist_add_css($file) {
  $path = drupal_get_path('module', 'gallery_assist') . "/css/{$file}.css";
  drupal_add_css($path);
}