function i18n_access_admin_settings in Translation Access 6
Same name and namespace in other branches
- 7 i18n_access.module \i18n_access_admin_settings()
Admin settings form
1 string reference to 'i18n_access_admin_settings'
- i18n_access_menu in ./
i18n_access.module - Implementation of hook_menu()
File
- ./
i18n_access.module, line 253 - file_description
Code
function i18n_access_admin_settings() {
$form['i18n_access_languages'] = array(
'#title' => t('Select the default access languages'),
'#type' => 'select',
'#multiple' => 'true',
'#options' => array(
I18N_ACCESS_LANGUAGE_NEUTRAL => t('Language neutral'),
) + locale_language_list('name'),
'#default_value' => variable_get('i18n_access_languages', array()),
'#description' => t("This selection of languages will be connected with the 'access selected languages' permission which you can use to grant a role access to these languages at once."),
);
return system_settings_form($form);
}