You are here

function activity_views_plugins in Activity 6.2

Same name and namespace in other branches
  1. 6 activity.views.inc \activity_views_plugins()

Implementation of hook_views_plugins

File

views/activity.views.inc, line 286
: provides views data integration for activity module as the base table

Code

function activity_views_plugins() {
  return array(
    'module' => 'activity',
    // This just tells our themes are elsewhere.
    'row' => array(
      'activity_rss' => array(
        'title' => t('Activity'),
        'help' => t('Display activity.'),
        'handler' => 'activity_views_plugin_row_activity_rss',
        'path' => drupal_get_path('module', 'activity') . '/views',
        // not necessary for most modules
        'theme' => 'views_view_row_activity_rss',
        'theme path' => drupal_get_path('module', 'activity') . '/theme',
        'base' => array(
          'activity',
        ),
        'type' => 'feed',
        'help topic' => 'style-node-rss',
      ),
    ),
  );
}