You are here

function themekey_ui_get_node_theme in ThemeKey 6

Function themekey_ui_get_node_theme().

1 call to themekey_ui_get_node_theme()
_themekey_ui_nodeform in ./themekey_ui_admin.inc
Function _themekey_ui_nodeform().

File

./themekey_ui_helper.inc, line 8

Code

function themekey_ui_get_node_theme($nid) {
  return db_result(db_query('SELECT theme FROM {themekey_properties} WHERE property = \'node:nid\' AND value = \'%s\'', $nid));
}