You are here

views_tree.views.inc in Views tree 6

Same filename and directory in other branches
  1. 6.2 views_tree.views.inc
  2. 7.2 views_tree.views.inc

File

views_tree.views.inc
View source
<?php

/**
 * Implementation of hook_views_plugins()
 */
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',
        'theme' => 'views_tree',
        'uses options' => TRUE,
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'parent' => 'list',
        'theme path' => $path,
        'theme file' => 'views_tree.theme.inc',
      ),
    ),
  );
}

Functions

Namesort descending Description
views_tree_views_plugins Implementation of hook_views_plugins()