Implement support for object oriented hook using Hook classes

Created on 2 May 2025, about 1 month ago

Problem/Motivation

Support for OOP hooks was introduced in Drupal 11.1. The respective hooks in the main module, plus the sub modules, should be updated to use the new standard.

Steps to reproduce

n/a

Proposed resolution

Extract all hooks in *.module files to OOP hooks using Drupal\Core\Hook\Attribute\Hook.

Remaining tasks

Update all hook implementations

User interface changes

None known at this time

API changes

None known at this time

Data model changes

None known at this time

πŸ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tregonia

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

Comments & Activities

Production build 0.71.5 2024