function aggregator_views_plugins
3.x aggregator.views.inc | aggregator_views_plugins() |
2.x aggregator.views.inc | aggregator_views_plugins() |
Implements hook_views_plugins().
File
- modules/
aggregator.views.inc, line 389 - Provide views data and handlers for aggregator.module.
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',
),
),
);
}