/[drupal]/contributions/modules/views_rotator/views_rotator.views.inc
ViewVC logotype

Contents of /contributions/modules/views_rotator/views_rotator.views.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (show annotations) (download) (as text)
Tue Sep 23 02:28:12 2008 UTC (14 months ago) by mfer
Branch: MAIN
CVS Tags: DRUPAL-6--1-0-ALPHA2, HEAD
Changes since 1.3: +2 -107 lines
File MIME type: text/x-php
Updated to add hook_views_api and move to autoloaded objects.
1 <?php
2 // $Id: views_rotator.views.inc,v 1.3 2008/08/28 15:30:54 mfer Exp $
3 /**
4 * @file
5 * Provide a rotating item display style for Views. This file is autoloaded by views.
6 */
7
8 /**
9 * Implementation of hook_views_plugin().
10 */
11 function views_rotator_views_plugins() {
12 return array(
13 'style' => array(
14 'views_rotator' => array(
15 'title' => t('Views Rotator'),
16 'theme' => 'views_view_rotator',
17 'help' => t('Display one node at a time while rotating through them.'),
18 'handler' => 'views_rotator_style_plugin',
19 'uses row plugin' => TRUE,
20 'uses options' => TRUE,
21 'type' => 'normal',
22 ),
23 ),
24 );
25 }
26

  ViewVC Help
Powered by ViewVC 1.1.2