keep term details in elements array for 3rd party modifications

Created on 9 March 2023, about 2 years ago

Problem/Motivation

Taxonomy terms are fieldable. That means that they could consist of way more information than name and tid.

Using hook_query_term_reference_tree_get_children_alter() you can easily add these fields and their values to the term objects that are used to build the tree.

It would be nice to still have access to these fields in hook_preprocess_checkbox_tree_item() and the corresponding template!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany mkalkbrenner 🇩🇪

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024