function views_calc_views_style_plugins in Views Calc 5
Implementation of hook_views_style_plugins()
File
- ./
views_calc.module, line 471 - This module will allow you to add calculated fields to views tables and compute (SUM, COUNT, AVG, etc) columns of numeric data in a views table.
Code
function views_calc_views_style_plugins() {
return array(
'views_calc' => array(
'name' => t('Views Calc Table'),
'theme' => 'views_calc_table',
'validate' => 'views_ui_plugin_validate_table',
'needs_fields' => TRUE,
'needs_table_header' => TRUE,
),
);
}