diff sites/all/modules/quicktabs/quicktabs.views.inc @ 2:b74b41bb73f0

-- Google analytics module
author danieleb <danielebarchiesi@me.com>
date Thu, 22 Aug 2013 17:22:54 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sites/all/modules/quicktabs/quicktabs.views.inc	Thu Aug 22 17:22:54 2013 +0100
@@ -0,0 +1,28 @@
+<?php
+// Id:$
+
+/**
+ * @file Add Views module hooks to Quicktabs.
+ */
+ 
+/**
+ * Implementation of hook_views_plugins().
+ */
+function quicktabs_views_plugins() {
+  $path = drupal_get_path('module', 'quicktabs');
+  
+  return array(
+    'style' => array(
+      'quicktabs' => array(
+        'title' => t('Quicktabs'),
+        'help' => t('Display view in Quicktabs.'),
+        'handler' => 'quicktabs_style_plugin',
+        'path' => "$path/includes",
+        'theme' => 'quicktabs_view',
+        'uses row plugin' => TRUE,
+        'uses options' => TRUE,
+        'type' => 'normal',
+      ),
+    ),
+  );
+}