function om_tools_admin_submit in OM Tools 6
Same name and namespace in other branches
- 8.2 inc/om_tools.admin.inc \om_tools_admin_submit()
- 8 om_tools.module \om_tools_admin_submit()
- 6.2 inc/om_tools.admin.inc \om_tools_admin_submit()
- 7.2 inc/om_tools.admin.inc \om_tools_admin_submit()
- 7 om_tools.module \om_tools_admin_submit()
Submit
File
- ./
om_tools.module, line 84 - This is a collection of OM Tools.
Code
function om_tools_admin_submit($form, $form_state) {
$form_values = $form_state['values'];
foreach ($form_values as $key => $value) {
variable_set('om_tools_' . $key, $value);
}
drupal_set_message(t('Your settings has been saved.'));
}