function views_calc_table::option_definition in Views Calc 7
Same name and namespace in other branches
- 6.3 views_calc_table.inc \views_calc_table::option_definition()
- 6 views_calc_table.inc \views_calc_table::option_definition()
Option definition.
Overrides views_plugin_style_table::option_definition
File
- ./
views_calc_table.inc, line 17 - Copied from the table style plugin.
Class
- views_calc_table
- Style plugin to render each item as a row in a table.
Code
function option_definition() {
$options = parent::option_definition();
$options['detailed_values'] = array(
'default' => 0,
);
$options['precision'] = array(
'default' => 0,
);
$options['decimal'] = array(
'default' => '.',
'translatable' => TRUE,
);
$options['separator'] = array(
'default' => ',',
'translatable' => TRUE,
);
$options['info'] = array(
'default' => array(),
);
return $options;
}