Switch to OOP hook implementations

Created on 24 November 2024, 5 months ago

See this change record โ†’ : Core added support for OOP hook implementations, support for procedural hooks (with magic names) is expected to be phased out mid-term. There is already a proposed way of making this switch without depending on Drupal 11.1 so we can implement this any time we want.

This will be especially nice for us as we are currently mixing different concerns, namely framework code plus code for specific plugins, in hook implementations. Now, we can just have two implementations.
As most of the actual code for hook implementations was already moved to classes, it also seems like we might just need to move them to the new location (\Drupal\search_api\Hook) โ€“ keeping BC in mind, of course.

๐Ÿ“Œ Task
Status

Active

Version

1.0

Component

General code

Created by

๐Ÿ‡ฆ๐Ÿ‡นAustria drunken monkey Vienna, Austria

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