You are here

function advanced_forum_views_plugins in Advanced Forum 6.2

Same name and namespace in other branches
  1. 7.2 includes/views/advanced_forum.views.inc \advanced_forum_views_plugins()

Implementation of hook_views_plugins().

File

includes/views/advanced_forum.views.inc, line 83
Views integration for advanced_forum.

Code

function advanced_forum_views_plugins() {
  $path = drupal_get_path('module', 'advanced_forum') . '/includes/views';
  return array(
    'style' => array(
      'forum_topic_list' => array(
        'parent' => 'table',
        'path' => $path,
        'title' => t('Forum topic list'),
        'help' => t('Displays the forum topic list as a view.'),
        'handler' => 'advanced_forum_plugin_style_forum_topic_list',
        'theme path' => drupal_get_path('module', 'advanced_forum') . '/includes',
        'theme file' => 'theme.inc',
        'theme' => 'advanced_forum_topic_list_view',
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}