function nat_fields_form_submit in Node Auto Term [NAT] 7.2
Same name and namespace in other branches
- 7 nat.admin.inc \nat_fields_form_submit()
Process NAT fields form submissions.
File
- ./
nat.admin.inc, line 219 - NAT module administrative forms.
Code
function nat_fields_form_submit($form, &$form_state) {
$form_values = $form_state['values'];
$nat_config = _nat_variable_get();
$nat_config['associations'] = $form_values['associations'];
variable_set('nat_config', $nat_config);
drupal_set_message(t('Configuration settings saved.'));
}