by Tim Hunt.
> But would that actually be mod_deleted?
Well, that is a decision about which events we use in core. Do we want more finer grained events, so you can ask the system to send you mod_quiz_deleted, but not mod_forum_deleted; or do we just have a single mod_deleted event type, and the subscriber then has to do if $event->activity_type == 'mod_quiz'? Clearly both work. The design decision should be based on the list of use-cases you have identified for the events API.