function views_plugin_style_pivot::option_definition in Pivot Tables for Views 7
Set default options.
Overrides views_plugin_style_table::option_definition
File
- ./
views_plugin_style_pivot.inc, line 18 - Holds views_plugin_style_chart class which implements the chart plugin.
Class
Code
function option_definition() {
$options = parent::option_definition();
$options['pivot_col'] = array(
'default' => array(),
);
$options['pivot_row'] = array(
'default' => array(),
);
$options['pivot_mode_multi_values'] = array(
'default' => VIEWS_PIVOT_MODE_MULTI_VALUE_HORIZONTAL,
);
return $options;
}