Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37677

Re: Feedback requested on new Events system specification

$
0
0
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.


Viewing all articles
Browse latest Browse all 37677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>