Convert subscription type hooks to plugin system

Created on 14 December 2021, over 2 years ago
Updated 15 April 2023, about 1 year ago

Problem/Motivation

Subscription types are defined using multiple hooks, not in keeping with the object-oriented programming nature of Drupal 9.

Proposed resolution

Move away from a number of hooks and use the plugin system to define subscription types (node, taxonomy term, etc.).

Remaining tasks

  • Create a new plugin type manager.
  • Create a new plugin type.
  • Create a new plugin for each subscription type.
  • Migrate usages of subscription types to use the plugins.
  • Remove subscription type hooks and hook implementations.

User interface changes

None.

API changes

Major changes, no backward compatibility.

Data model changes

Major changes, no backward compatibility.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States alexdmccabe Orlando, FL, US / Seminole lands

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.69.0 2024