Further modules included.
[yaffs-website] / web / modules / contrib / views_responsive_grid / views_responsive_grid.module
diff --git a/web/modules/contrib/views_responsive_grid/views_responsive_grid.module b/web/modules/contrib/views_responsive_grid/views_responsive_grid.module
new file mode 100644 (file)
index 0000000..687cbba
--- /dev/null
@@ -0,0 +1,16 @@
+<?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';
+}