nd.views.inc in Node displays 6
Views file for nd.
File
views/nd.views.incView source
<?php
/**
* @file
* Views file for nd.
*/
/**
* Implementation of hook_views_plugins().
*/
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',
),
),
);
}
Functions
Name | Description |
---|---|
nd_views_plugins | Implementation of hook_views_plugins(). |