function aggregator_views_plugins

Same name in other branches
  1. 6.x-3.x modules/aggregator.views.inc \aggregator_views_plugins()

Implements hook_views_plugins().

File

modules/aggregator.views.inc, line 381

Code

function aggregator_views_plugins() {
    return array(
        'module' => 'views',
        // This just tells our themes are elsewhere.
'row' => array(
            'aggregator_rss' => array(
                'title' => t('Aggregator item'),
                'help' => t('Display the aggregator item using the data from the original source.'),
                'handler' => 'views_plugin_row_aggregator_rss',
                'path' => drupal_get_path('module', 'views') . '/modules/node',
                // Not necessary for most modules.
'theme' => 'views_view_row_rss',
                'base' => array(
                    'aggregator_item',
                ),
                // Only works with 'node' as base.
'uses options' => TRUE,
                'type' => 'feed',
                'help topic' => 'style-aggregator-rss',
            ),
        ),
    );
}