You are here

function views_calc_views_api in Views Calc 7

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

Implements hook_views_api().

File

./views_calc.module, line 11
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_api() {
  return array(
    'api' => 2,
    'path' => drupal_get_path('module', 'views_calc'),
  );
}