You are here

function views_crosstab_views_plugins in Views Crosstab 6

Same name and namespace in other branches
  1. 7 views_crosstab.views.inc \views_crosstab_views_plugins()

Implementation of hook_views_plugins.

File

./views_crosstab.module, line 16

Code

function views_crosstab_views_plugins() {
  $path = drupal_get_path('module', 'views_crosstab');
  $views_path = drupal_get_path('module', 'views');
  require_once "./{$path}/theme.inc";
  $data = array(
    'module' => 'views_crosstab',
    'style' => array(
      'views_crosstab_table' => array(
        'title' => t('Crosstab Table'),
        'help' => t('Creates a crosstab table.'),
        'handler' => 'views_crosstab_table',
        'path' => $path,
        'parent' => 'table',
        'theme' => 'views_view_table',
        'theme file' => 'theme.inc',
        'theme path' => "{$path}",
        'uses row plugin' => FALSE,
        'uses fields' => TRUE,
        'uses options' => TRUE,
        'uses grouping' => FALSE,
        'type' => 'normal',
        'even empty' => FALSE,
      ),
    ),
  );
  return $data;
}