You are here

function template_preprocess_views_view_quicksand in Views Quicksand 7

Template function for views_quicksand style plugin.

Parameters

array $vars: Array of template variables.

The JS file is loaded within render() in views_quicksand_style_plugin.inc .

File

./views_quicksand.module, line 36
jQuery Plugin that provides a nice animation for filtering or reordering lists of content.

Code

function template_preprocess_views_view_quicksand(&$vars) {

  // inherit the normal unformatted classes.
  template_preprocess_views_view_unformatted($vars);
  $vars['view_quicksand_id'] = 'views-quicksand-' . $vars['view']->name . '-' . $vars['view']->current_display . '-header';
}