Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Hierarchy Manager

466 sites Security covered
View on drupal.org

This module provides a flexible and efficient way to manage large hierarchies for taxonomy terms and menu links, allowing users to rearrange items by dragging and dropping them within a tree view. It supports custom plugins for managing other entity types and offers features like in-place editing and filtering for easier navigation.

Drupal provides a draggable table to manage the hierarchy of menu links and taxonomy terms. The Drupal draggable table is not able to present a massive hierarchy in one page.

This module provides a plugin architecture to delivery a flexibility of managing hierarchy for taxonomy terms, menu links and others. There are two out of box plugins, taxonomy hierarchy management plugin and menu hierarchy plugin. The front-end JavaScript libraries is also pluginable. The out of box display plugin using jsTree to render the hierarchy tree with filter. The hierarchy tree is draggable which means you can update the hierarchy by dragging a node in the tree.

Other modules can define their own management plugin to manage hierarchy for any other entities or display plugin to render the hierarchy tree by a JavaScript library other than jsTree.

Features:

  • Support massive hierarchy tree (>1000 nodes)
  • Filtering (support multiple words)
  • In place editing
  • Customize styling

How to use:

  1. Install this module as usual.
  2. Go the hierarchy manage display profile page (/admin/structure/hm_display_profile) under the Structure menu to create a display profile. The customized configuration for a display profile has to be valid JSON text. If leave the config JSON as blank, the display plugin will use default value instead. See here to learn how to edit the JSON text.
  3. Go to the hierarchy management configuration page (/admin/config/user-interface/hierarchy_manager/config) to enable hierarchy management plugins, such as taxonomy plugin, and specify a display profile created in step 2.
  4. Once a hierarchy mange plugin is enabled, the related edit form should be replaced with a hierarchy tree form. For instance, the taxonomy term edit form (/admin/structure/taxonomy/manage/{tid}/overview) will be replaced with a hierarchy tree implemented by the taxonomy hierarchy manage plugin.

Third party JS libraries

This module will automatically load all third party libraries from CDN if those libraries weren't hosted locally (under the folder '/libraries/jquery.jstree/3.3.12/').

  • /libraries/jquery.jstree/3.3.12/jstree.min.js
  • /libraries/jquery.jstree/3.3.12/themes/default/style.min.css
  • /libraries/jquery.jstree/3.3.12/themes/default-dark/style.min.css

The HM display profile edit page (/admin/structure/hm_display_profile) require JsonEditor library. It will be automatically loaded from CDN if you hasn't downloaded it into

  • /libraries/jsoneditor/9.9.2/jsoneditor.min.css
  • /libraries/jsoneditor/9.9.2/jsoneditor.min.js

Activity

Total releases
1
First release
Jan 2026
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
3.4.2 Stable Jan 29, 2026