function themekey_user_themekey_properties in ThemeKey 6
Same name and namespace in other branches
- 6.4 modules/themekey.user.inc \themekey_user_themekey_properties()
- 6.2 modules/themekey.user.inc \themekey_user_themekey_properties()
- 6.3 modules/themekey.user.inc \themekey_user_themekey_properties()
- 7.3 modules/themekey.user.inc \themekey_user_themekey_properties()
- 7 modules/themekey.user.inc \themekey_user_themekey_properties()
- 7.2 modules/themekey.user.inc \themekey_user_themekey_properties()
File
- modules/
themekey.user.inc, line 3
Code
function themekey_user_themekey_properties() {
// Attributes for properties
$attributes = array();
$attributes['user:hostname'] = array(
'path' => 'user:hostname',
'description' => t('User: Hostname'),
);
$attributes['user:language'] = array(
'path' => 'user:language',
'description' => t('User: Language'),
);
$attributes['user:name'] = array(
'path' => 'user:name',
'description' => t('User: Name'),
);
$attributes['user:uid'] = array(
'path' => 'user:uid',
'description' => t('User: ID'),
);
return array(
'attributes' => $attributes,
);
}