function charts_plugin_display_chart::options_submit in Charts 7.2
Perform any necessary changes to the form values prior to storage. There is no need for this function to actually store the data.
Overrides views_plugin_display::options_submit
File
- views/
charts_plugin_display_chart.inc, line 148 - Contains the Chart display type (similar to Page, Block, Attachment, etc.)
Class
- charts_plugin_display_chart
- Display plugin to attach multiple chart configurations to the same chart.
Code
function options_submit(&$form, &$form_state) {
// It is very important to call the parent function here:
parent::options_submit($form, $form_state);
switch ($form_state['section']) {
case 'parent_display':
case 'inherit_yaxis':
case 'inherit_arguments':
case 'inherit_exposed_filters':
$this
->set_option($form_state['section'], $form_state['values'][$form_state['section']]);
break;
}
}