Support for object oriented hook implementations using autowired services

Created on 8 November 2024, about 1 month ago

As per the core change record:
Support for object oriented hook implementations using autowired services β†’

As of core Drupal 11.1, hooks can be written as instance methods on a class rather than procedural methods in a module file. This change is backwards compatible with Drupal 10 as well.

πŸ“Œ Task
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024