function oa_buttons_add_space_content_settings_form_submit in Open Atrium Core 7.2
Saves changes to the widget.
File
- modules/
oa_buttons/ plugins/ content_types/ add_space_content.inc, line 131
Code
function oa_buttons_add_space_content_settings_form_submit($form, &$form_state) {
foreach (array_keys($form_state['values']) as $key) {
if (isset($form_state['values'][$key])) {
$form_state['conf'][$key] = $form_state['values'][$key];
}
}
cache_clear_all('oa_section_buttons', 'cache_oa_section_buttons', TRUE);
}