Allow arbitrary service to implement hooks

Created on 31 October 2024, 3 months ago

Problem/Motivation

πŸ“Œ OOP hooks using event dispatcher Needs review provides a way to move hook implementations to services under the Drupal\module_name\Hook namespace (or subdirectory).

It would be great to allow any service (under any namespace) to implement hooks by adding attributes to their corresponding methods.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

base system

Created by

πŸ‡ΊπŸ‡¦Ukraine pingwin4eg Zaporizhia πŸ‡ΊπŸ‡¦

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

Comments & Activities

Production build 0.71.5 2024