You are here

theme.inc in Image 6

Same filename in this branch
  1. 6 views/theme/theme.inc
  2. 6 contrib/image_gallery/views/theme/theme.inc
Same filename and directory in other branches
  1. 7 views/theme/theme.inc

Theme preprocessors for image plugins.

File

views/theme/theme.inc
View source
<?php

/**
 * @file
 *
 * Theme preprocessors for image plugins.
 */

/**
 * Preprocessor for the gallery style plugin.
 */
function template_preprocess_image_view_image_gallery(&$vars) {

  // Call the parent preprocess function to get a heap of variables.
  template_preprocess_views_view_list($vars);
  drupal_add_css(drupal_get_path('module', 'image') . '/image.css');
}

Functions

Namesort descending Description
template_preprocess_image_view_image_gallery Preprocessor for the gallery style plugin.