function locale_language_providers_session_form

The URL language provider configuration form.

Related topics

1 string reference to 'locale_language_providers_session_form'
locale_menu in modules/locale/locale.module
Implements hook_menu().

File

modules/locale/locale.admin.inc, line 727

Code

function locale_language_providers_session_form($form, &$form_state) {
    $form['locale_language_negotiation_session_param'] = array(
        '#title' => t('Request/session parameter'),
        '#type' => 'textfield',
        '#default_value' => variable_get('locale_language_negotiation_session_param', 'language'),
        '#description' => t('Name of the request/session parameter used to determine the desired language.'),
    );
    $form_state['redirect'] = 'admin/config/regional/language/configure';
    return system_settings_form($form);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.