You are here

function node_gallery_views_pre_render in Node Gallery 7

Implements hook_views_pre_render().

Parameters

object $view: The view

File

./node_gallery.module, line 91
Node Gallery module.

Code

function node_gallery_views_pre_render(&$view) {
  if ($view->name == 'node_gallery_gallery_item_views' || $view->name == 'node_gallery_gallery_summaries') {
    drupal_add_css(drupal_get_path('module', 'node_gallery') . '/node_gallery.css');
  }
}