Convert hook_pirate() into an object-oriented hook, while maintaining backwards compatibility

Created on 30 October 2024, about 2 months ago

Problem/Motivation

https://www.drupaleasy.com/blogs/ultimike/2024/10/why-drupal-module-deve... describes the new feature in Drupal 11.1, object-oriented hooks, and how to implement them.

Steps to reproduce

No steps to reproduce.

Proposed resolution

Keep hook_pirate(), but also implement the object-oriented version of them.

Remaining tasks

See above.

User interface changes

None. This should be transparent to users.

API changes

None.

Data model changes

None.

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada sillygwailo Toronto, ON

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

Comments & Activities

Production build 0.71.5 2024