Closed (fixed)
Project:
Select Text Value
Version:
2.1.0-beta1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2026 at 10:31 UTC
Updated:
23 Mar 2026 at 12:00 UTC
Jump to comment: Most recent
Convert the module's procedural hook implementations to OOP #[Hook] attributes, following Drupal's recommended pattern for hook modernization.
src/Hook/SelectTextValueHooks.php class with #[Hook('help')] attribute, using StringTranslationTrait instead of the global t() function.select_text_value.module to a #[LegacyHook] stub delegating to the service class for Drupal 10.x backward compatibility.select_text_value.services.yml registering the hook class as an autowired service (required for Drupal 10.x which lacks HookCollectorPass).Start 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 #3
mably commentedComment #5
mably commented