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

Can resources and activities control the Delete action?

$
0
0
by Joseph Rézeau.  

I am reviewing bug CONTRIB-1243 Public questionnaires in use in other courses should not be deletable (or warning should be issued).

Which brings the question: Can resources and activities control the Delete action? I mean, when, in Edit mode, a user (teacher) clicks the Delete icon on a resource or activity on a course front page, is any "hook" or "event" sent to the particular activity/resource so it can react and, for example, "refuse" to be deleted in a given context?

Joseph


Viewing all articles
Browse latest Browse all 37670

Trending Articles



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