You are here

function aggregator_views_plugins in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 modules/aggregator.views.inc \aggregator_views_plugins()
  2. 7.3 modules/aggregator.views.inc \aggregator_views_plugins()

Implementation of hook_views_plugins

Related topics

File

modules/aggregator.views.inc, line 436
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/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',
      ),
    ),
  );
}