function domain_conf_default_language in Domain Access 7.3
Same name and namespace in other branches
- 7.2 domain_conf/domain_conf.module \domain_conf_default_language()
Store the default language setting for later use.
Parameters
$value: If set, the $language object to store.
Return value
The language object or FALSE if not set.
2 calls to domain_conf_default_language()
- domain_conf_domain_bootstrap_full in domain_conf/
domain_conf.module - Implements hook_domain_bootstrap_full().
- 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 544 - Domain manager configuration options.
Code
function domain_conf_default_language($value = NULL) {
$language =& drupal_static(__FUNCTION__);
if (!is_null($value)) {
$language = $value;
}
return isset($language) ? $language : FALSE;
}