- Issue created by @joachim
- First commit to issue fork.
- Merge request !11764Issue #3517423: refactor HookCollectorPass::checkForProceduralOnlyHooks() so... → (Open) created by annmarysruthy
- 🇮🇳India annmarysruthy
I've raised an MR!11764 implementing the suggested solution for this issue. The PR refactors the HookCollectorPass::checkForProceduralOnlyHooks() method to make it more reusable by other components.
Kindly review.
- 🇬🇧United Kingdom joachim
Oh wait, the hook attribute takes a short hook name:
> #[Hook('field_type_category_info_alter')]
which means the method probably does too.
We should document it's the short hook name, without the 'hook_' prefix -- see the docs on the Hook attribute class for an example.