You are here

views_crosstab.module in Views Crosstab 7

Same filename and directory in other branches
  1. 6 views_crosstab.module

views_crosstab module file

File

views_crosstab.module
View source
<?php

/**
 * @file
 * views_crosstab module file
 */

/**
 * Implements hook_views_api().
 */
function views_crosstab_views_api() {
  return array(
    'api' => 3,
    'path' => drupal_get_path('module', 'views_crosstab'),
  );
}

/**
 * Implements hook_theme().
 */
function views_crosstab_theme() {
  return array(
    'views_crosstab_ui_table' => array(
      'render element' => 'form',
      'file' => 'theme.inc',
    ),
  );
}

/**
 * Keep the keys/names of our main field options in one place.
 */
function views_crosstab_field_options() {
  return array(
    'crosstab_rows' => t('Crosstab rows'),
    'crosstab_columns' => t('Crosstab columns'),
    'crosstab_data' => t('Crosstab data'),
  );
}

Functions

Namesort descending Description
views_crosstab_field_options Keep the keys/names of our main field options in one place.
views_crosstab_theme Implements hook_theme().
views_crosstab_views_api Implements hook_views_api().