Add a bundle subclass for forum.module's business logic

Created on 15 September 2021, over 3 years ago
Updated 4 May 2024, 11 months ago

Problem/Motivation

From the wise mind of @Berdir at #2570593-165: Allow entities to be subclassed using "bundle classes" β†’ :

One thought I had in to another issue would be to use this in forum.module for its special vocabulary and node type. That could be a big step to transform that module from a forgotten and ignored thing to a decent example and a real-word demonstration of this feature. Might also allow us to fix πŸ› Canonical taxonomy term link for forum vocabulary is broken Postponed although I'm still unsure about that feature, should probably use aliases instead
...
An early proof of concept might help to convince anyone who still doubts that this is useful though :)

To which @larowlan replied:

Great idea, forum is the ideal use case

Steps to reproduce

N/A

Proposed resolution

  • Add a ForumNode bundle class.
  • Put stuff in there.

Remaining tasks

  1. Land #2570593: Allow entities to be subclassed using "bundle classes" β†’
  2. Define a ForumNode class.
  3. Register it with the entity system.
  4. Decide what to put in there.
  5. ...

User interface changes

Hopefully none.

API changes

TBD.

Data model changes

Nope.

Release notes snippet

TBD.

πŸ“Œ Task
Status

Closed: won't fix

Version

1.0

Component

forum.module

Created by

πŸ‡ΊπŸ‡ΈUnited States dww

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

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