You are here

function views_rss_views_plugins in Views RSS 7

Same name and namespace in other branches
  1. 6.2 views/views_rss.views.inc \views_rss_views_plugins()
  2. 6 views/views_rss.views.inc \views_rss_views_plugins()
  3. 7.2 views/views_rss.views.inc \views_rss_views_plugins()

Implements hook_views_style_plugins(). Adds view types to views UI interface().

File

views/views_rss.views.inc, line 12
Views plugins definition for views_rss.

Code

function views_rss_views_plugins() {
  return array(
    'style' => array(
      'rss_fields' => array(
        'title' => t('RSS Feed - Fields'),
        'help' => t('Outputs a RSS formatted feed'),
        'handler' => 'views_plugin_style_rss_fields',
        'theme' => 'views_view_views_rss_fields',
        'theme file' => 'views_rss_views_fields.theme.inc',
        'theme path' => drupal_get_path('module', 'views_rss') . '/views',
        'path' => drupal_get_path('module', 'views_rss') . '/views',
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'feed',
      ),
    ),
  );
}