As an experiment, the \GrowthExperiments\Mentorship\Hooks\MentorHooks::onPageSaveComplete hook should be migrated to use the new PageUpdated event.
Example from the Linter extension: EXP: use new event listener mechanism
TODO: link documentation here
Acceptance criteria:
- Investigate and document here what would happen if there were a problem with that hook and how we would notice that.
- Change the \GrowthExperiments\Mentorship\Hooks\MentorHooks::onPageSaveComplete to the PageUpdated event
- (optional) Share any feedback/thoughts/concerns/feelings you may have about how the new system.
Open questions:
- Currently, in that hook handler we schedule two deferred updates. Should this now ideally be two handlers for the PageUpdated event?