Use BundleClasses for class Subscriber

Created on 7 February 2024, about 1 year ago
Updated 26 February 2024, about 1 year ago

Problem/Motivation

Re https://www.drupal.org/project/drupal/issues/2924796#comment-15430368 📌 Create a generic way to decorate Entity classes Active by @geek-merlin in 📌 Create a generic way to decorate Entity classes Active :

@Anybody: No, that's a different party. In simple words: If you add methods
to a decorating class, the next decorator can wrap and hide your methods.

I guess you want BundleClasses: https://www.drupal.org/node/3191609 [1]

That indeed looks interesting for the class Subscriber which wraps the user object.
Might be a DX improvement and interesting concept to use BundleClasses. Still I didn't take a deeper look yet.

This isn't something required or important, more coding fun and might be good for DX convenience and architecture.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

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

Comments & Activities

Production build 0.71.5 2024