1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?php
/**
* Implementation of hook_views_plugins()
*/
function views_tree_views_plugins() {
$plugin = array(
'style' => array(
'tree' => array(
'title' => t('Tree (Adjacency model)'),
'help' => t('Display the results as a nested tree'),
'handler' => 'views_tree_plugin_style_tree',
'theme' => 'views_tree',
'uses options' => TRUE,
'uses row plugin' => TRUE,
'uses fields' => TRUE,
'uses grouping' => FALSE,
'type' => 'normal',
'parent' => 'list',
//'path' => drupal_get_path('module', 'views_tree'),
),
),
);
return $plugin;
}
|