You are here

function locale_languages_configure_form_submit in Drupal 6

Same name and namespace in other branches
  1. 7 modules/locale/locale.admin.inc \locale_languages_configure_form_submit()

Submit function for language negotiation settings.

Related topics

File

includes/locale.inc, line 479
Administration functions for locale.module.

Code

function locale_languages_configure_form_submit($form, &$form_state) {
  variable_set('language_negotiation', $form_state['values']['language_negotiation']);
  drupal_set_message(t('Language negotiation configuration saved.'));
  $form_state['redirect'] = 'admin/settings/language';
  return;
}