function certificate_settings_form_submit in Certificate 7.3
Same name and namespace in other branches
- 8.3 certificate.admin.inc \certificate_settings_form_submit()
- 6.2 certificate.admin.inc \certificate_settings_form_submit()
- 6 certificate.admin.inc \certificate_settings_form_submit()
- 7.2 certificate.admin.inc \certificate_settings_form_submit()
- 3.x certificate.admin.inc \certificate_settings_form_submit()
Save the certificate mappings. For global mappings, we use node ID zero to store it in the database.
File
- ./
certificate.admin.inc, line 193 - Administrative pages for Certificate module.
Code
function certificate_settings_form_submit($form, &$form_state) {
certificate_update_node_mappings(0, $form_state['values']['certificate']['map']);
drupal_set_message(t('The certificate mapping options have been saved.'));
}