You are here

views_gantt.views.inc in Views Gantt 7

Same filename and directory in other branches
  1. 7.2 views_gantt.views.inc

Defines the View Style Plugins for views_gantt module.

File

views_gantt.views.inc
View source
<?php

/**
 * @file
 * Defines the View Style Plugins for views_gantt module.
 */

/**
 * Implements hook_views_plugins().
 */
function views_gantt_views_plugins() {
  return array(
    'style' => array(
      'gantt' => array(
        'title' => t('Gantt chart'),
        'help' => t('Display the results as a Gantt chart.'),
        'handler' => 'views_gantt_plugin_style_gantt',
        'uses options' => TRUE,
        'uses fields' => TRUE,
        'uses row plugin' => FALSE,
        'uses grouping' => FALSE,
        'uses row class' => TRUE,
        'type' => 'normal',
        'parent' => 'list',
        'theme' => 'views_view_views_gantt',
        'path' => drupal_get_path('module', 'views_gantt'),
      ),
    ),
  );
}

Functions