I have a hook for pre_ and post_ user deletion event, like so (not exact code, just to explain the concept): $this->eventManager->dispatch('user_delete_before'); $this->customerRepository->delete($magentoUser); $this->eventManager->dispatch('user_delete_after', ['data' => $magentoUser]); However, what I actually want is to allow the user_delete_before hook to determine whether the user will be deleted. Something like this: if […]