Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
3.11.2
-
None
-
None
-
MOODLE_311_STABLE
Description
Today, Moodle has a very mature Events system that allows other parts of the system to react on a change in a specific context.
One of this events is the \core\event\course_module_updated
This event is dispatched when any mod is changed by the edit page. Also it is dispatched when the inline name is changed, but not when the resource is moved for a different position inside the course.
Should this be considered as a mod changed? If so, would it be intresting to dispatch the event on this case? Or for being specificly a move event, a new event could be created with the moved verb?
So... The propose of this issue is to dispatch eather a \core\event\course_module_updated or a hipotetical \core\event\course_module_moved event when a resource is moved using AJAX.