Remove taxonomy hard dependency on node module

Created on 16 September 2014, over 10 years ago
Updated 18 September 2024, 3 months ago

Problem/Motivation

Currently taxonomy module depends on the node module. Sometimes this is a problem if you are not using nodes but still want to categorize for example, users.

The dependency on node is mostly related to the views integration. There are some tokens that depends on the node module, but the basic functionality of taxonomy module could be used even if node module is not installed.

Proposed resolution

As a starting point we could move all the views integration and node tokens related code to the node module and check if taxonomy module is installed to provide the features moved.

As a long term solution, taxonomy module should be refactored to work with standard entities, not just nodes. This implies a lot of effort and upgrade paths to migrate the taxonomy_index_tid table. [@todo create a ticket to track this]

Remaining tasks

  1. Agree on proposed resolution.
  2. Create more tests to ensure that main functionality works when node module is installed and is not present.
📌 Task
Status

Needs work

Version

11.0 🔥

Component
Taxonomy 

Last updated 2 days ago

  • Maintained by
  • 🇺🇸United States @xjm
  • 🇬🇧United Kingdom @catch
Created by

🇩🇪Germany steamx

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024