function views_watchdog_views_plugins in Views Watchdog 7.3
Same name and namespace in other branches
- 6.3 views/views_watchdog.views.inc \views_watchdog_views_plugins()
- 6 views/views_watchdog.views.inc \views_watchdog_views_plugins()
- 6.2 views/views_watchdog.views.inc \views_watchdog_views_plugins()
Implements of hook_views_plugins
Related topics
File
- views/
views_watchdog.views.inc, line 246 - Views data and handlers for the views_watchdog module.
Code
function views_watchdog_views_plugins() {
$plugins = array(
'module' => 'views_watchdog',
'row' => array(
'watchdog_rss' => array(
'title' => t('Watchdog entry'),
'help' => t('Display the watchdog entry.'),
'handler' => 'views_plugin_row_watchdog_rss',
'path' => drupal_get_path('module', 'views_watchdog') . '/views/plugins',
'theme' => 'views_view_row_rss',
'theme file' => 'theme.inc',
'theme path' => drupal_get_path('module', 'views') . '/theme',
'uses options' => TRUE,
'type' => 'feed',
'base' => array(
'watchdog',
),
'help topic' => 'style-watchdog-rss',
),
),
'style' => array(
'watchdog_table' => array(
'title' => t('Watchdog table'),
'help' => t('Displays watchdog entries as highlighted rows in a table.'),
'handler' => 'views_plugin_style_watchdog_table',
'path' => drupal_get_path('module', 'views_watchdog') . '/views/plugins',
'theme' => 'views_view_watchdog_table',
'theme file' => 'theme.inc',
'theme path' => drupal_get_path('module', 'views_watchdog') . '/views/theme',
'uses row plugin' => FALSE,
'uses row class' => TRUE,
'uses fields' => TRUE,
'uses options' => TRUE,
'type' => 'normal',
'parent' => 'table',
'base' => array(
'watchdog',
),
'help topic' => 'style-watchdog-table',
),
),
);
return $plugins;
}