function highcharttable_admin_configure_form_submit in HighchartTable 7
Form submit handler for admin settings.
Parameters
array $form: The form
array $form_state: The form state
File
- ./
highcharttable.admin.inc, line 351 - highcharttable.admin.inc
Code
function highcharttable_admin_configure_form_submit($form, &$form_state) {
variable_set('highcharttable_decorations', $form_state['values']['decorations']);
variable_set('highcharttable_global_settings', $form_state['values']['global-settings']);
// A change in the library files to be included requires clearing of the
// Libraries cache. A call to libraries_flush_caches() is not sufficient here.
// @todo maybe check whether libraries were actually changed...
cache_clear_all('*', 'cache_libraries', TRUE);
drupal_set_message(t('The chart decorations have been saved.'));
}