You are here

function views_gantt_views_plugins in Views Gantt 7.2

Same name and namespace in other branches
  1. 7 views_gantt.views.inc \views_gantt_views_plugins()

Implements hook_views_plugins().

File

./views_gantt.views.inc, line 11
Defines the View Style Plugins for views_gantt module.

Code

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'),
      ),
    ),
  );
}