Closed (fixed)
Project:
Varbase Search
Version:
9.2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
4 Jul 2026 at 00:28 UTC
Updated:
22 Jul 2026 at 16:30 UTC
Jump to comment: Most recent
Drupal 11 introduced object-oriented hook implementations via the #[Hook] attribute (change record). Varbase Search targets Drupal ~11.4.0, so converting the procedural hooks to an OOP hook class improves structure and aligns with core.
Move hook_form_entity_view_display_edit_form_alter() from varbase_search.module into src/Hook/VarbaseSearchHooks.php with a #[Hook] attribute. The form submit callback stays procedural (referenced by name). No #[LegacyHook] wrapper is needed on the 11.4-only branch.
task: #3608316 Convert the procedural hooks to OOP hook classes in the Varbase Search moduleStart 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_search-9.2.0
Comment #8
rajab natshah✅ Released varbase-9.2.0
Comment #9
rajab natshahComment #10
rajab natshah✅ Released varbase_search-10.1.1