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.

This module provides a tree widget for entity reference fields, allowing users to select entities in a hierarchical view. It enhances the default autocomplete or select box widgets by displaying the relationships between entities, particularly useful for complex hierarchies like taxonomy terms.

This module provides an entity relationship hierarchy tree widget for an entity reference field.

Drupal entity reference field, such as taxonomy term reference or content reference might have very complex
hierarchy. The autocomplete widget or drop down select box widget implemented by Drupal core doesn't present the relationship between those entities. This module provide a combination of an autocomplete textfield and a tree view for reference field as one widget. This module uses JsTree JavaScript library to render a hierarchy tree of those entities.

Requirements

- Drupal 8.5 or greater
- PHP 7.0 or greater
- JsTree 3.3.14 or greater (Included in this module)

Installation
- Install this module using the normal Drupal module installation process.
- The JsTree JavaScrip library has already been included in this module, you don't need to install it separately.

Settings

- This field widget only works with reference field, such as taxonomy term or contents. The settings are
located in the fields form display page (/admin/structure/types/manage/[Content Type]/form-display)

- Select the 'Entity reference tree widget' for the reference field that this widget should apply to.

Permissions:

  • Taxonomy terms tree: Access the taxonomy vocabulary overview page
  • Entity tree (other than taxonomy): View the entity

Related module:
Hierarchy Manager

Activity

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

Releases

Version Type Release date
2.4.2 Stable Feb 11, 2026
2.4.1 Stable Jan 16, 2026