task: #3608369 Convert the remaining procedural tokens to the OOP hook class and remove the procedural files (9.2.x)
Moves the hook_token_info/hook_tokens implementations from varbase_core.tokens.inc into the existing \Drupal\varbase_core\Hook\VarbaseCoreHooks class (with request stack + theme manager injected), removes the #[LegacyHook] varbase_core.module shims and deletes both procedural files (change record).
Related issue: #3608369
This changeset was produced with AI assistance (Claude Code). Per the Drupal AI-generated contribution policy, it has been reviewed by a human before submission.
Checkpoints
- File an issue about this project
- Addition/Change/Update/Fix to this project
- Testing to ensure no regression
- Automated unit/functional testing coverage
- Developer Documentation support on feature change/addition
- User Guide Documentation support on feature change/addition
- UX/UI designer responsibilities
- Accessibility and Readability
- Reviewed by a human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Update Release Notes
- Release
Edited by Rajab Natshah