Closed (fixed)
Project:
Varbase Email
Version:
9.2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2026 at 00:46 UTC
Updated:
22 Jul 2026 at 16:35 UTC
Jump to comment: Most recent
Drupal 11 introduced object-oriented hook implementations via the #[Hook] attribute (change record). Converting the module's procedural hooks to an OOP hook class improves structure and aligns with Drupal core. An MR is opened per branch as needed.
Move hook_theme() and hook_preprocess_email() from varbase_email.module into src/Hook/VarbaseEmailHooks.php with #[Hook] attributes. No #[LegacyHook] wrapper (Drupal ~11.4-only).
task: #3608321 Remove the #[LegacyHook] shims for full OOP hooksStart within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #6
rajab natshah✅ Released varbase_email-9.2.0
Comment #8
rajab natshah✅ Released varbase-9.2.0
Comment #9
rajab natshahComment #10
rajab natshah✅ Released varbase_email-10.1.1