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.
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.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Taxonomy, Utility
- Reported installs: 1,730 sites currently report using this module. View usage statistics.
- Downloads: 1,812
- Last modified: December 2, 2014
- Stable releases receive coverage from the Drupal Security Team.
Look for the shield icon below.