You are here

function views_calc_theme in Views Calc 7

Same name and namespace in other branches
  1. 6.3 views_calc.module \views_calc_theme()
  2. 6 views_calc.module \views_calc_theme()

Implements hook_theme().

File

./views_calc.module, line 21
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_theme() {
  $path = drupal_get_path('module', 'views_calc');
  return array(
    'views_calc_ui_table' => array(
      'render element' => 'form',
      'file' => 'theme.inc',
    ),
  );
}