You are here

function themekey_contact_uid2theme in ThemeKey 7.3

This function implements the interface of a ThemeKey mapping function but doesn't set a ThemeKey property's value. It sets the Drupal static themekey_custom_theme which will cause ThemeKey to use this theme.

Parameters

$uid: the user's id to be contacted, current value of ThemeKey property contact:uid

Return value

string "static" if global custom theme has been set or NULL if no theme has been assigned to the contact form

1 string reference to 'themekey_contact_uid2theme'
themekey_contact_themekey_properties in modules/themekey.contact.inc
Implements hook_themekey_properties().

File

modules/themekey.contact.inc, line 66

Code

function themekey_contact_uid2theme($uid) {
  return themekey_ui_author2theme($uid);
}