You are here

function views_tree_views_plugins in Views tree 6.2

Same name and namespace in other branches
  1. 6 views_tree.views.inc \views_tree_views_plugins()
  2. 7.2 views_tree.views.inc \views_tree_views_plugins()

Implementation of hook_views_plugins()

File

./views_tree.views.inc, line 6

Code

function views_tree_views_plugins() {
  $path = drupal_get_path('module', 'views_tree');
  return 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',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'parent' => 'list',
        'path' => drupal_get_path('module', 'views_tree'),
        'theme' => 'views_tree',
        'theme path' => drupal_get_path('module', 'views_tree'),
      ),
    ),
  );
}