function charts_default_settings_form_submit in Charts 8
Same name and namespace in other branches
- 7.2 includes/charts.pages.inc \charts_default_settings_form_submit()
Submit handler for charts_default_settings_form().
_state
Parameters
$form:
File
- includes/
charts.pages.inc, line 613 - Menu callbacks for Charts module.
Code
function charts_default_settings_form_submit($form, $form_state) {
\Drupal::state()
->set('charts_default_settings', $form_state['values']['charts_default_settings']);
//was variable_set
}