Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Entity Reference Tree Widget

2,051 sites Security covered Drupal 10–11 Entity ecosystem
View on drupal.org

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

Depends on

Dependencies of the latest stable release

  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jan 2026
Latest release
6 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Slowing

Releases

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