Hooks as plugins as alternative.

Created on 29 January 2018, almost 7 years ago
Updated 18 October 2024, about 1 month ago

Drupal 8 is almost fully object-orientiered everywhere except of hooks. In the other hand it is still rather flexible tool. A lot of core modules now use .module file just only for collecting information about hooks, delegating other classes, as usual injectable, hooks implementation. In order to implement standard oop approach here, it would be nice to have hook plugin manager, that collects hooks implementations. As alternative this can be service collector or some event (symfony approach), but plugin would suite the best.

Feature request
Status

Closed: duplicate

Version

11.0 🔥

Component

plugin system

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