function themekey_user_themekey_global in ThemeKey 6
Same name and namespace in other branches
- 6.4 modules/themekey.user.inc \themekey_user_themekey_global()
- 6.2 modules/themekey.user.inc \themekey_user_themekey_global()
- 6.3 modules/themekey.user.inc \themekey_user_themekey_global()
- 7.3 modules/themekey.user.inc \themekey_user_themekey_global()
- 7 modules/themekey.user.inc \themekey_user_themekey_global()
- 7.2 modules/themekey.user.inc \themekey_user_themekey_global()
File
- modules/
themekey.user.inc, line 26
Code
function themekey_user_themekey_global() {
global $user;
$parameters = array();
$parameters['user:hostname'] = isset($user->hostname) ? $user->hostname : '';
$parameters['user:language'] = isset($user->language) ? $user->language : 'en';
$parameters['user:name'] = isset($user->name) ? $user->name : '';
$parameters['user:uid'] = $user->uid;
return $parameters;
}