You are here

function taxonomy_hierarchical_select_valid_item in Hierarchical Select 5

Same name and namespace in other branches
  1. 5.2 modules/taxonomy.inc \taxonomy_hierarchical_select_valid_item()

Implementation of hook_hierarchical_select_valid_item().

File

modules/taxonomy.inc, line 158

Code

function taxonomy_hierarchical_select_valid_item($item, $params) {
  $term = taxonomy_get_term($item);
  return $term->vid == $params['vid'];
}