You are here

views_timelinejs.views.inc in Views TimelineJS integration 7

Same filename and directory in other branches
  1. 7.3 views_timelinejs.views.inc

Defines the View Style Plugins for Views TimelineJS module.

File

views_timelinejs.views.inc
View source
<?php

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

/**
 * Implements hook_views_plugins().
 */
function views_timelinejs_views_plugins() {
  return array(
    'style' => array(
      'timelinejs' => array(
        'title' => t('TimelineJS'),
        'help' => t('Display the results in a Timeline.'),
        'handler' => 'views_timelinejs_plugin_style_timelinejs',
        'uses options' => TRUE,
        'uses row plugin' => FALSE,
        'uses grouping' => FALSE,
        'uses fields' => TRUE,
        'uses row class' => FALSE,
        'type' => 'normal',
        'path' => drupal_get_path('module', 'views_timelinejs'),
        'theme' => 'views_timelinejs',
        'theme path' => drupal_get_path('module', 'views_timelinejs') . '/theme',
        'theme file' => 'views_timelinejs.theme.inc',
      ),
    ),
  );
}

Functions