You are here

tablesorter.views.inc in Tablesorter 7

Tablesorter view hooks.

File

views/tablesorter.views.inc
View source
<?php

/**
 * @file
 * Tablesorter view hooks.
 */

/**
 * Implements hook_views_plugins().
 */
function tablesorter_views_plugins() {
  $path = drupal_get_path('module', 'tablesorter') . '/views';
  return array(
    'module' => 'tablesorter',
    'style' => array(
      'tablesorter' => array(
        'title' => t('Tablesorter'),
        'help' => t('Displays rows in a jQuery table.'),
        'path' => $path,
        'theme path' => $path,
        'handler' => 'tablesorter_style_plugin',
        'parent' => 'table',
        'theme' => 'tablesorter_view',
        'uses row plugin' => FALSE,
        'uses row class' => TRUE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'type' => 'normal',
      ),
    ),
  );
}

Functions