You are here

function themekey_user_themekey_properties in ThemeKey 6

Same name and namespace in other branches
  1. 6.4 modules/themekey.user.inc \themekey_user_themekey_properties()
  2. 6.2 modules/themekey.user.inc \themekey_user_themekey_properties()
  3. 6.3 modules/themekey.user.inc \themekey_user_themekey_properties()
  4. 7.3 modules/themekey.user.inc \themekey_user_themekey_properties()
  5. 7 modules/themekey.user.inc \themekey_user_themekey_properties()
  6. 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,
  );
}