You are here

views_responsive_grid.module in Views Responsive Grid 8

Same filename and directory in other branches
  1. 7 views_responsive_grid.module

Provides a Views style plugin to display content in a responsive grid.

File

views_responsive_grid.module
View source
<?php

/**
 * @file
 * Provides a Views style plugin to display content in a responsive grid.
 */

/**
 * Implements hook_theme_registry_alter().
 */
function views_responsive_grid_theme_registry_alter(&$theme_registry) {

  // For some issue in core, we need to set our theme path ourselves.
  // @see http://drupal.org/node/1911492
  $template =& $theme_registry['views_view_responsive_grid'];
  $template['theme path'] = drupal_get_path('module', 'views_responsive_grid');
  $template['path'] = drupal_get_path('module', 'views_responsive_grid') . '/templates';
}