function charts_plugin_style_chart::options_submit in Charts 7
Same name and namespace in other branches
- 6 views/charts_plugin_style_chart.inc \charts_plugin_style_chart::options_submit()
- 7.2 views/charts_plugin_style_chart.inc \charts_plugin_style_chart::options_submit()
Generate a form for setting options.
Overrides views_plugin::options_submit
File
- views/
charts_plugin_style_chart.inc, line 94 - Contains the chart style plugin. @author Bruno Massa http://drupal.org/user/67164 @author Karen Stevenson http://drupal.org/user/45874
Class
- charts_plugin_style_chart
- Style plugin to render view as a chart.
Code
function options_submit(&$form, &$form_state) {
$chart =& $form_state['values']['style_options']['charts'];
foreach (element_children($chart) as $index) {
$chart['#' . $index] = $chart[$index];
unset($chart[$index]);
}
}