function i18n_variable_init in Internationalization 6
Same name and namespace in other branches
- 5.3 i18n.module \i18n_variable_init()
- 5 i18n.module \i18n_variable_init()
- 5.2 i18n.module \i18n_variable_init()
Initialization of multilingual variables.
Parameters
$langcode: Language to retrieve variables. Defaults to current language.
1 call to i18n_variable_init()
- _i18n_init in ./
i18n.module - Initialize multilingual variables and use them for site_frontpage
File
- ./
i18n.module, line 716 - Internationalization (i18n) module.
Code
function i18n_variable_init($langcode = NULL) {
global $conf;
$langcode = $langcode ? $langcode : i18n_get_lang();
if ($variables = _i18n_variable_init($langcode)) {
$conf = array_merge($conf, $variables);
}
}