function aggregator_views_plugins

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

Implementation of hook_views_plugins

Related topics

File

modules/aggregator.views.inc, line 436

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/aggregator',
                // 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',
            ),
        ),
    );
}