You are here

function lineage_views_plugins in Taxonomy Lineage 6

Same name and namespace in other branches
  1. 7 lineage.views.inc \lineage_views_plugins()

Implements hook_views_plugins().

File

./lineage.views.inc, line 67
Interface between lineage.module and views.module.

Code

function lineage_views_plugins() {
  return array(
    'style' => array(
      // Declare the nested list style plugin.
      'lineage_nested' => array(
        'title' => t('Lineage nested list'),
        'theme' => 'views_view_lineage_nested',
        'help' => t('Displays rows in a nested list, grouped by term lineage'),
        'handler' => 'views_plugin_style_lineage_nested',
        'uses row plugin' => TRUE,
        'uses fields' => TRUE,
        'uses grouping' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
        'parent' => 'list',
      ),
    ),
  );
}