| 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 |
|