You are here

function countries_configuration_options_form_save_submit in Countries 8

Same name and namespace in other branches
  1. 7.2 modules/countries_configuration/countries_configuration.admin.inc \countries_configuration_options_form_save_submit()

Standard save submit handler for countries_configuration_options_form().

1 string reference to 'countries_configuration_options_form_save_submit'
countries_configuration_options_form in modules/countries_configuration/countries_configuration.admin.inc
Menu callback for generating a countries settings admin form.

File

modules/countries_configuration/countries_configuration.admin.inc, line 103
Administrative functions / callbacks.

Code

function countries_configuration_options_form_save_submit($form, &$form_state) {
  drupal_write_record('countries_data', $form_state['values'], $form_state['is_update'] ? array(
    'iso2',
    'name',
  ) : array());
}