function views_responsive_grid_theme_registry_alter in Views Responsive Grid 8
Implements hook_theme_registry_alter().
File
- ./
views_responsive_grid.module, line 10 - Provides a Views style plugin to display content in a responsive grid.
Code
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';
}