You are here

function certificate_settings_form_submit in Certificate 3.x

Same name and namespace in other branches
  1. 8.3 certificate.admin.inc \certificate_settings_form_submit()
  2. 6.2 certificate.admin.inc \certificate_settings_form_submit()
  3. 6 certificate.admin.inc \certificate_settings_form_submit()
  4. 7.3 certificate.admin.inc \certificate_settings_form_submit()
  5. 7.2 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.'));
}