public function views_aggregator_plugin_style_table::option_definition in Views Aggregator Plus 7
Option definition.
Overrides views_plugin_style_table::option_definition
File
Class
- views_aggregator_plugin_style_table
- Style plugin to render each item as a row in a table.
Code
public function option_definition() {
$options = parent::option_definition();
$options['general'] = array(
'contains' => array(
'use_field_handler' => array(
'default' => FALSE,
'bool' => TRUE,
),
),
);
$options['group_aggregation'] = array(
'contains' => array(
'grouping_field_class' => array(
'default' => '',
),
),
);
$options['column_aggregation'] = array(
'contains' => array(
'totals_per_page' => array(
'default' => TRUE,
),
'totals_row_position' => array(
'default' => array(
1 => 0,
2 => 2,
),
),
'totals_row_class' => array(
'default' => '',
),
'precision' => array(
'default' => 2,
),
),
);
return $options;
}