You are here

function views_calc_settings_form_submit in Views Calc 6

Same name and namespace in other branches
  1. 5 views_calc.module \views_calc_settings_form_submit()
  2. 6.3 views_calc.module \views_calc_settings_form_submit()
  3. 7 views_calc.module \views_calc_settings_form_submit()

FAPI settings_form submit.

File

./views_calc.module, line 183
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_settings_form_submit($form, &$form_state) {
  $form_values = $form_state['values'];
  variable_set('views_calc_operators', $form_values['views_calc_operators']);
}