This project is not covered by Drupal’s security advisory policy.

The taxonomy_get_tree() function is useful, but returns a flat structure. If the vocabulary contains a hierarchical taxonomy, modules will often want the data returned as a hierarchical structure.

Enter hierarchical_taxonomy module. It simply provides one API function: hierarchical_taxonomy_get_tree(). It uses the same parameters as taxonomy_get_tree(), but returns a hierarchical structure (where $term->below is an array containing the child terms).

This is an API module, and does not provide any UI. Use it to simplify your module development, or if another module requires it.

Project information