You are here

function taxonomy_hierarchical_select_root_level in Hierarchical Select 5.2

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

Implementation of hook_hierarchical_select_root_level().

1 call to taxonomy_hierarchical_select_root_level()
content_taxonomy_hierarchical_select_root_level in modules/content_taxonomy.inc
Implementation of hook_hierarchical_select_root_level().

File

modules/taxonomy.inc, line 264

Code

function taxonomy_hierarchical_select_root_level($params) {
  $terms = taxonomy_get_tree($params['vid'], 0, -1, 1);
  return _taxonomy_hierarchical_select_terms_to_options($terms);
}