function nd_views_plugins in Node displays 6
Implementation of hook_views_plugins().
File
- views/
nd.views.inc, line 11 - Views file for nd.
Code
function nd_views_plugins() {
$path = drupal_get_path('module', 'nd');
return array(
'module' => 'nd',
// This just tells our themes are elsewhere.
'row' => array(
'nd' => array(
'title' => t('Node displays'),
'help' => t('Display the node through the Node displays module.'),
'handler' => 'views_plugin_nd_node_view',
'theme' => 'nd_row_node',
'base' => array(
'node',
),
// only works with 'node' as base.
'path' => $path . '/views',
'theme path' => $path . '/theme',
'theme file' => 'theme.inc',
'uses options' => TRUE,
'type' => 'normal',
'help topic' => 'style-node',
),
),
);
}