Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Reference Tree Widget

Security covered Under active development 2,166 sites

Part of the Entity ecosystem · 308 projects

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

Drupal 10–11

Ask your assistant about Entity Reference Tree Widget

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
9
Tracked since
Jan 2023
Latest release
8 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.4.2 Stable 10–11 Feb 11, 2026
2.4.1 Stable 10–11 Jan 16, 2026
2.4.0 Stable 9–11 Aug 4, 2024
2.3.2 Stable 9–10 Apr 7, 2024
2.3.1 Stable 9–10 Aug 25, 2023
2.3.0 Stable 9–10 Aug 24, 2023
3.x-dev Dev 9–11 Feb 24, 2023
2.2.0 Stable 9–10 Feb 23, 2023
2.1.0 Stable 8–10 Jan 19, 2023