views_crosstab.module in Views Crosstab 7
Same filename and directory in other branches
views_crosstab module file
File
views_crosstab.moduleView 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
Name | 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(). |