You are here

function themekey_taxonomy_vid_weight in ThemeKey 6

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

File

modules/themekey.taxonomy.inc, line 50

Code

function themekey_taxonomy_vid_weight($item) {
  return db_result(db_query('SELECT weight FROM {vocabulary} WHERE vid = %d', $item['value']));
}