Implements hooks as OOP

Created on 31 January 2025, 25 days ago

Problem/Motivation

Just because I prefer OOP than procedural code, let's be ready for the day where the .module files won't be needed anymore and follow those guidelines:
https://www.drupal.org/node/3442349

My only concern is that we won't be able to support Drupal versions prior to 10.3.x if we use Hook/LegacyHook attributes.

Proposed resolution

Remaining tasks

Should we do that on a 3.2.x and keep supporting drupal between 10.0.x and 10.2.x on the 3.1.x?

API changes

Data model changes

📌 Task
Status

Active

Version

3.1

Component

Code

Created by

🇫🇷France MacSim

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

Comments & Activities

Production build 0.71.5 2024