General developer forum

Trigger event does not work on the assignment page

 
Picture of Hittesh Ahuja
Trigger event does not work on the assignment page
Group Plugin developersGroup Testers

Hi,

I have a local plugin which injects itself on the Edit Assignment page much like a plagiarism plugin for example which allows users to select settings related to the plugin. Upon implementing get_form_elements_module() and save_form_elements() the code ignores my event trigger at the end of save_form_elements() method . It looks like it only executes the update assigment event defined in the mod/assign/locallib.php file . Any way to inject my own trigger for a custom plugin ? 


Hittesh

 
Average of ratings: -