You are here

function views_timelinejs_views_plugins in Views TimelineJS integration 7.3

Same name and namespace in other branches
  1. 7 views_timelinejs.views.inc \views_timelinejs_views_plugins()

Implements hook_views_plugins().

File

./views_timelinejs.views.inc, line 10
Defines the View Style Plugins for Views TimelineJS module.

Code

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