You are here

function themekey_taxonomy_tid_weight in ThemeKey 6

1 string reference to 'themekey_taxonomy_tid_weight'
themekey_taxonomy_themekey_properties in modules/themekey.taxonomy.inc

File

modules/themekey.taxonomy.inc, line 54

Code

function themekey_taxonomy_tid_weight($item) {
  return db_result(db_query('SELECT weight FROM {term_data} WHERE tid = %d', $item['value']));
}