function domain_conf_set_default_language in Domain Access 7.3
Same name and namespace in other branches
- 7.2 domain_conf/domain_conf.module \domain_conf_set_default_language()
Shutdown function to reset the default language variable.
Parameters
$default_language: A language object, stored by domain_conf_default_language().
1 string reference to 'domain_conf_set_default_language'
- domain_conf_js_maintain in domain_conf/
domain_conf.module - Ensure that language changes do not affect default settings.
File
- domain_conf/
domain_conf.module, line 558 - Domain manager configuration options.
Code
function domain_conf_set_default_language($default_language) {
if (!empty($default_language) && is_object($default_language)) {
variable_set('language_default', $default_language);
}
}