Module Description
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 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
Module Link
Project Usage
1626
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the issue of presenting complex entity relationship hierarchies in Drupal entity reference fields by providing a tree widget for better visualization.
Data Name
entity_reference_tree